Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can I remove ALL hyperlinks in a document in Excel 2003?

I would like to Remove ALL hyperlinks instead of one by one in Excel 2003
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How can I remove ALL hyperlinks in a document in Excel 2003?

Sub DeleteHyperlinks()
Dim Cell As Range
For Each Cell In Intersect(Selection, _
Selection.SpecialCells(xlConstants, xlTextValues))
With ActiveSheet
.Hyperlinks.Delete
End With
Next Cell
End Sub


Gord Dibben MS Excel MVP

On Tue, 25 May 2010 08:04:01 -0700, ToBeFree71
wrote:

I would like to Remove ALL hyperlinks instead of one by one in Excel 2003


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How can I remove ALL hyperlinks in a document in Excel 2003?

You don't need the loop.

Sub DeleteHyperlinks()
ActiveSheet.Hyperlinks.Delete
End Sub

This will get rid of the Insert|Hyperlink version.

Gord Dibben wrote:

Sub DeleteHyperlinks()
Dim Cell As Range
For Each Cell In Intersect(Selection, _
Selection.SpecialCells(xlConstants, xlTextValues))
With ActiveSheet
.Hyperlinks.Delete
End With
Next Cell
End Sub

Gord Dibben MS Excel MVP

On Tue, 25 May 2010 08:04:01 -0700, ToBeFree71
wrote:

I would like to Remove ALL hyperlinks instead of one by one in Excel 2003


--

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
Emailing an Excel document with hyperlinks klappin Excel Discussion (Misc queries) 3 March 17th 09 09:30 PM
Update 2000 Excel hyperlinks to 2003 hyperlinks lonv155 Excel Worksheet Functions 4 October 25th 07 05:51 AM
Linking an Excel 2003 document copied to a Word 2003 document jfg Excel Discussion (Misc queries) 7 July 26th 07 10:16 PM
How to remove multiple hyperlinks from a document Azra Excel Discussion (Misc queries) 3 December 28th 06 12:18 PM
remove hyperlinks Excel 2003 Klodney Excel Discussion (Misc queries) 2 September 27th 06 09:11 PM


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