Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default remove all hyperlinks


I need code to remove all hyperlinks in a single sheet, not the whol
workbook, thanks

--
ski2004_200
-----------------------------------------------------------------------
ski2004_2005's Profile: http://www.excelforum.com/member.php...fo&userid=1641
View this thread: http://www.excelforum.com/showthread.php?threadid=37718

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default remove all hyperlinks

Select all the cells (ctrl-A (twice in xl2003))
hit alt-f11 (to get to the VBE, where macros live)
hit ctrl-g (to see the immediate window)

type this and hit enter:

selection.hyperlinks.delete

Close the VBE and back to excel to see if it worked.

===
You could even just select a smaller range and just clean that since the command
uses the current selection.

ski2004_2005 wrote:

I need code to remove all hyperlinks in a single sheet, not the whole
workbook, thanks.

--
ski2004_2005
------------------------------------------------------------------------
ski2004_2005's Profile: http://www.excelforum.com/member.php...o&userid=16418
View this thread: http://www.excelforum.com/showthread...hreadid=377182


--

Dave Peterson
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
Remove Hyperlinks Jester Links and Linking in Excel 2 June 5th 10 03:46 AM
How to remove multiple hyperlinks at once Janne Siukkola Excel Worksheet Functions 1 September 14th 07 09:19 AM
Remove hyperlinks dminkov Excel Discussion (Misc queries) 1 June 9th 06 01:44 PM
How do I remove hyperlinks westy Excel Discussion (Misc queries) 1 March 20th 05 12:05 AM
remove hyperlinks Dave Excel Discussion (Misc queries) 2 March 4th 05 12:40 AM


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