#1   Report Post  
Dave
 
Posts: n/a
Default remove hyperlinks

An outside application exports data to an Excel spreadsheet, but all the
numbers (part numbers in this case) are created as hyperlinks. My
spreadsheet can contain hundreds of numbers. Is there any way I can remove
the hyperlinks en masse rather than one by one? I can't change the program
that creates the spreadsheet.

Thanks,

Dave
  #2   Report Post  
Andy Brown
 
Posts: n/a
Default

"Dave" wrote in message
...
An outside application exports data to an Excel spreadsheet, but all the
numbers (part numbers in this case) are created as hyperlinks. My
spreadsheet can contain hundreds of numbers. Is there any way I can

remove
the hyperlinks en masse rather than one by one? I can't change the program
that creates the spreadsheet.


Yes Dave, with a simple macro:

Sub Macro1()
ActiveSheet.Hyperlinks.Delete
End Sub

Rgds,
Andy


  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Hit ctrl-A (twice in xl2003) to select the whole sheet.

Hit alt-F11 to see the VBE
hit ctrl-g to see the immediate window

type this and hit enter

selection.hyperlinks.delete

Then alt-f11 back to excel to see if it worked.

Dave wrote:

An outside application exports data to an Excel spreadsheet, but all the
numbers (part numbers in this case) are created as hyperlinks. My
spreadsheet can contain hundreds of numbers. Is there any way I can remove
the hyperlinks en masse rather than one by one? I can't change the program
that creates the spreadsheet.

Thanks,

Dave


--

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
Random hyperlinks everywhere! FNORD Excel Discussion (Misc queries) 1 February 2nd 05 02:27 AM
remove all Hyperlinks at one time. afglass Excel Discussion (Misc queries) 2 January 2nd 05 05:47 PM
Remove link fr a column of entries Rasoul Khoshravan Azar Excel Discussion (Misc queries) 1 December 18th 04 10:51 PM
Remove link fr a column of entries Rasoul Khoshravan Azar Excel Discussion (Misc queries) 1 December 17th 04 08:07 PM
Remove link fr a column of entries Rasoul Khoshravan Azar Excel Discussion (Misc queries) 1 December 17th 04 06:44 PM


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