Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() The code below removes all hyperlinks in a worksheet. To remove special types re-enable the commented out lines and amend a necessary. Code ------------------- Sub untested() ' Hyperlink types: 'oHyperlinkInlineShape, msoHyperlinkRange, msoHyperlinkShape. '--------------------------------------------------------------------------------- For Each h In ActiveSheet.Hyperlink 'If h.Type = "??" Then h.Delete 'End If Next End Sub ------------------- -- Brian ----------------------------------------------------------------------- BrianB's Profile: http://www.excelforum.com/member.php...tinfo&userid=5 View this thread: http://www.excelforum.com/showthread.php?threadid=38674 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Is there a way to remove old cell format objects from Excel? | Excel Discussion (Misc queries) | |||
remove hyperlinks Excel 2003 | Excel Discussion (Misc queries) | |||
Unable to remove objects pasted into Excel from HTML grid | Excel Worksheet Functions | |||
Remove all macros and objects in Excel, Save and Quit | Excel Discussion (Misc queries) | |||
Unable to remove Sheet objects in the Microsoft Excel Objects | Excel Programming |