Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
art art is offline
external usenet poster
 
Posts: 22
Default Hyperlinks in Excel

I am using Excel to run a query against a SQL database.

One of the colums that is being returned is a web site
address (e.g., http://www.mywebsite.com)

Is there any way to format the column so that the data
being returned becomes a live hyperlink rather than just a
text string of the web site address?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default Hyperlinks in Excel

Hi Art,
What version of Excel, you have to have at least Excel 2002 to be able
to turn off hyperlinks, and at least Excel 97 to have hyperlinks.

See if the hand for a hyperlink appears you may have just formatted
it with a style so that the underlined blue indication is not present.

Does F2 then Enter create the hyperlink. That is just reentering it.
If that woks you could probably use the TrimALL macro, which you
might try even if F2 then Enter doesn't work.
http://www.mvps.org/dmcritchie/excel/join.htm#trimall

If you have hyperlinks turned off then try
Creating Hyperlinks for all Cells in a Selection (#MakeHyperlinks)
http://www.mvps.org/dmcritchie/excel...MakeHyperlinks
or
MakeHyperlinkFormulas from URL address or Email addresses
http://www.mvps.org/dmcritchie/excel...erlinkFormulas

If there is something else happening, I don't use SQL, if you want to leave
that cell untouched you could use
=HYPERLINK(a1,"[x]") and click on the [x] in the cell.
The purpose of the string '[x]" is just to have something short and
distinctive rather than also repeating what you already have visible.

HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Art" wrote l...
I am using Excel to run a query against a SQL database.

One of the colums that is being returned is a web site
address (e.g., http://www.mywebsite.com)

Is there any way to format the column so that the data
being returned becomes a live hyperlink rather than just a
text string of the web site address?

Thanks



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
Hyperlinks: Hyperlinks change on copy/paste? Rick S. Excel Worksheet Functions 0 November 13th 07 08:19 PM
Update 2000 Excel hyperlinks to 2003 hyperlinks lonv155 Excel Worksheet Functions 4 October 25th 07 05:51 AM
How toi turn-off hyperlinks [excel]? Email hyperlinks pop up ! jacob735 Excel Discussion (Misc queries) 1 June 22nd 07 12:57 AM
Excel Hyperlinks- cell content v. hyperlinks herpetafauna Excel Discussion (Misc queries) 2 May 23rd 06 04:39 AM
hyperlinks in excel Mike Nolan New Users to Excel 1 January 10th 05 11:41 PM


All times are GMT +1. The time now is 06:02 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"