#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Hyperlinks

hi
you didn't say how many hyperlinks you had, only refered to "a few" so i did
some guessing. bad guessing it seems.
try this
Sub selecthyper()
For Each c In Range("c3:C14") ' adjust range to suit.
If c.Hyperlinks.Count < 0 Then
c.Value = c.Hyperlinks(1).Address
End If
Next c
End Sub

regards
FSt1

"Gmata" wrote:

THanks!
It works!

But i have hundreds of Hyperlinks and it will take me alot of time to do one
by one, is there any chance to do that for all the selected cells containing
Hyperlinks?

Gonzalo

"FSt1" wrote:

hi
this works in 2003. place the cursor on the hyperlink and run the macro. put
the macro in a standard module. it will replace whatever is in the cell with
the URL. it will keep the hyperlink.
Sub hypertourl()
ActiveCell.Value = _
ActiveCell.Hyperlinks(1).Address
End Sub

regards
FSt1

"Gmata" wrote:

Hello, I have a few fields with hyperlinks on a spread sheet.

Is there any way to create a Macro or something to convert those Hyperlinks
into URLS.

Thanks

Gonzalo

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 amezera Excel Discussion (Misc queries) 2 December 9th 08 05:45 PM
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


All times are GMT +1. The time now is 01:20 PM.

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

About Us

"It's about Microsoft Excel"