Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Dynamic URL for first column of data from excel query?

I am using the database query to suck four columns of data from an sql
server express 2005 database and it works great.

However, I would like to automatically construct a URL hyperlink for
the 2nd column of data coming into the worksheet from the database
query.

Is there is simple one to dynamically do this?

Any specific feedback would be very much appreciated.

Columns:
ID
Boat Name
Price

Data:
Ocean Speed 100k
Sea Lion 300k

Goal:

<a href="www.mysite.com" + ID + Boat Name + </a.

Jason

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Dynamic URL for first column of data from excel query?

Below is the example of the HyperLink worksheet function available in Excel.
The two parameters are strings a can be constructed by using the Concatenate
function or using the "&" character.

=HYPERLINK("http://example.microsoft.com/report/budget report.xls", "Click
for report")


if A1 contains
"http://example.microsoft.com/report/"
and A2 =
"budget report.xls"
and A3 =
"Click for report"

=Hyperlink(A1 & A2,A3)




"Edgeline" wrote:

I am using the database query to suck four columns of data from an sql
server express 2005 database and it works great.

However, I would like to automatically construct a URL hyperlink for
the 2nd column of data coming into the worksheet from the database
query.

Is there is simple one to dynamically do this?

Any specific feedback would be very much appreciated.

Columns:
ID
Boat Name
Price

Data:
Ocean Speed 100k
Sea Lion 300k

Goal:

<a href="www.mysite.com" + ID + Boat Name + </a.

Jason


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scan and remove column data query IE Excel Discussion (Misc queries) 5 March 23rd 07 09:50 AM
Dynamic web query in Excel 2003 Farhomer Excel Discussion (Misc queries) 0 October 3rd 06 10:53 PM
How do I change column data based on dynamic (rolling) dates? fergusbell Excel Discussion (Misc queries) 1 July 25th 06 10:29 AM
Dynamic column chart - auto sort on data range jimfrog Charts and Charting in Excel 0 March 29th 06 02:45 PM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Charts and Charting in Excel 0 March 1st 06 01:05 AM


All times are GMT +1. The time now is 08:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"