View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
stanleydgromjr[_24_] stanleydgromjr[_24_] is offline
external usenet poster
 
Posts: 1
Default Remove Hyperlinks


Elaine,

Try:


PLEASE TEST THIS FIRST IN A COPY OF YOUR WORKBOOK (ALWAYS MAKE A BACKUP
COPY BEFORE TRYING NEW CODE, YOU NEVER KNOW WHAT YOU MIGHT LOSE).

Adding the Macro
1. Copy the below macro, by highlighting the macro code and pressing
the keys *CTRL* + *C*
2. Open your workbook
3. Press the keys ALT+F11 to open the Visual Basic Editor
4. Press the keys ALT+I to activate the Insert menu
5. Press M to insert a Standard Module
6. Paste the code by pressing the keys *CTRL* + *V*
7. Press the keys ALT+Q to exit the Editor, and return to Excel


Code:
--------------------


Sub DelAllHyperlinks()

ActiveSheet.Cells.Hyperlinks.Delete

End Sub


--------------------



Have a great day,
Stan


--
stanleydgromjr
------------------------------------------------------------------------
stanleydgromjr's Profile: http://www.thecodecage.com/forumz/member.php?userid=503
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=120348