Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default VBA to remove hyperlink?

How can I use VBA to remove a hyperlink from a cell, while retaining the
cell content?

Thanks,

Keith


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default VBA to remove hyperlink?

sub hypergone()
Selection.Hyperlinks.Delete
end sub

Just select the cells you want to clean first and then run the macro.

God Luck
--
Gary's Student


"keithb" wrote:

How can I use VBA to remove a hyperlink from a cell, while retaining the
cell content?

Thanks,

Keith



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default VBA to remove hyperlink?

You've got another very similar answer in .misc.

keithb wrote:

How can I use VBA to remove a hyperlink from a cell, while retaining the
cell content?

Thanks,

Keith


--

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
Odd Remove Hyperlink Behavior Bob Excel Discussion (Misc queries) 0 May 13th 09 10:28 PM
How do I remove hyperlink if 'remove' option is disabled Vipul New Users to Excel 1 January 8th 08 02:34 PM
Remove hyperlink when pasting KS Links and Linking in Excel 1 May 11th 05 07:55 PM
Remove Hyperlink chits Setting up and Configuration of Excel 5 March 4th 05 02:09 AM
Remove Hyperlink Janice Excel Worksheet Functions 4 December 1st 04 02:03 PM


All times are GMT +1. The time now is 08:55 AM.

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"