ssas - Automatic hyperlinks in Excel? -


I am exposing data from an SSAS server in which users can connect to any device, (usually practice In Excel 2007). We want to provide URLs in some cells and recognize Excel as hyperlinks and want them to be active and formatted.

When we put a cell in a cell, it is presented as plain text only if you touch the cell and then click again, then Excel will have a link form Activates in.

The same behavior occurs when you directly source data from a SQL or CSV file, there is nothing special about using our SSAS here.

Do anyone know one way to make these render as an automatic link? We have no control over the generation of spreadsheets, so macros are out.

Edit:

It's a good thing to get a response from meff, though I forgot to tell that the place we are displaying in the URL is in the goal of drillhouse action.

I do not believe it would be possible without a macro.

An Excel cell does not have to do anything with the value of a hyperlink, it is a separate object that is connected to the cell. The fully functional way of adding hyperlinks to a cell is through Excel menu items -> hyperlink.

The fact is that when a hyperlink is added, when a user enters the price such as' http: //. .. ',' https: // ... 'or' ftp: // ... 'is just a GUI shortcut, in which the insert -> hyperlink has the same effect. In your example, when the user touches 'cell', they effectively enter the 'http: // ...' value in the cell and insert the GUI shortcut for hyperlink - Insert ->. However, the shortcut is not applied when the value is entered into cells, either through VBA or in Excel features (eg Data -> Import External Data).

For this reason, it is really a challenge to present these arbitrary data imports to the appropriate values ​​in the form of hyperlinks without a macro if you want your users to install a simple Excel add-in If you can persuade, you can provide a menu item that runs the following simple code: -

  In the form of a slow chamber range: Room / / for each cell in the selection Using range ("A1") You can. CurrentRegion.Cells or similar left (cell.Value, 7) = "http: //" or left (cell.value, 8) = "https: //" or left (cell value, 6) = "ftp: / / "Then Call Cell. Hyperlink.ad (cell, cell.value) ends if the next cell  

Users can apply it After import / refractioning data is obviously far from ideal because this user Depending on taking an additional step to provide hyperlinks to


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -