A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Pasting URL from Browser Address



 
 
Thread Tools Display Modes
  #1  
Old March 18th, 2004, 06:37 PM
vetbabe
external usenet poster
 
Posts: n/a
Default Pasting URL from Browser Address

Window into Excel results in text rather than a hyperlink. I've been
searching for an answer all morning, and I'm sure it's something that I'm
being duh about. Any help is greatly appreciated.


  #2  
Old March 18th, 2004, 11:57 PM
Bill Manville
external usenet poster
 
Posts: n/a
Default Pasting URL from Browser Address

Vetbabe wrote:
Window into Excel results in text rather than a hyperlink. I've been
searching for an answer all morning, and I'm sure it's something that I'm
being duh about. Any help is greatly appreciated.


That's how it goes.
You could turn the text into a hyperlink after the paste by running this
macro, selecting as many cells as you like that contain web addresses that
are not hyperlinks...

Sub MakeHyperlinks()
Dim C As Range
For Each C In Selection.Cells
If C.Hyperlinks.Count = 0 And Not IsEmpty(C) Then
C.Hyperlinks.Add C, C.Value
End If
Next
End Sub

MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:11 PM.


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