View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Lorelei Lorelei is offline
external usenet poster
 
Posts: 2
Default hyperlinks - macro not working to take them off the sheet

I asked a question earlier, and the answer was to make a macro
This explains what you need to do:
http://www.techonthenet.com/excel/macros/delete_hl.php

Basically you have to create a macro to remove all hyperlinks at once. The
link provides detailed instructions on how to do it.

If you get stuck just post another question and someone can walk you through
it.

Answer: You will need to create a macro to delete the hyperlink addresses
in your Excel sheet.
Open your Excel spreadsheet that you wish to remove the hyperlinks from.
Press <ALT-F11 to go to the Visual Basic editor. Create a new module. You
can do this by selecting Module under the Insert menu.
Paste the following code into your new module:
Sub RemoveHyperlinks()
'Remove all hyperlinks from the active sheet
ActiveSheet.Hyperlinks.Delete
End Sub
Close the Visual Basic editor window by selecting "Close and Return to
Microsoft Excel" under the File menu.
Now, go to the sheet that contains the hyperlinks that you wish to delete.
Here is an example of a sheet with multiple hyperlink addresses:


Under the Tools menu, select Macro Macros. Highlight the macro called
"RemoveHyperlinks" and click on the Run button.

Now your hyperlinks should be deleted as you can see by the example below:


If you need to remove hyperlinks from other sheets, just repeat the steps
above.


THIS DOES NOT WORK FOR ME. I GET A SECURITY
i HAVE READ ALL THE SECURITY, and have tried most.
Does anyone have any simple suggestions? just absolutly stressed in TEXAS