Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Removing Hyperlink
I recorded a macro where I remove a Hyperlink. I am using that code in a
larger program. The problem is, this code removes all the cell formatting, not just the hyperlink. How can I remove the hyperlink, by code, without removing other cell formatting? -- Thanks Shawn |
#2
|
|||
|
|||
Use Clearcontents instead of Clear
"Shawn" wrote in message ... I recorded a macro where I remove a Hyperlink. I am using that code in a larger program. The problem is, this code removes all the cell formatting, not just the hyperlink. How can I remove the hyperlink, by code, without removing other cell formatting? -- Thanks Shawn |
#3
|
|||
|
|||
Hi Shawn,
Selection.Hyperlinks.Delete more information in: http://www.mvps.org/dmcritchie/excel...#DelHyperlinks ---HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htmSearch Page: http://www.mvps.org/dmcritchie/excel/search.htm "Shawn" wrote in message ... I recorded a macro where I remove a Hyperlink. I am using that code in a larger program. The problem is, this code removes all the cell formatting, not just the hyperlink. How can I remove the hyperlink, by code, without removing other cell formatting? -- Thanks Shawn |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Importing Access File with Hyperlink | Excel Discussion (Misc queries) | |||
Hyperlink Length | Excel Worksheet Functions | |||
Removing hyperlink | Excel Discussion (Misc queries) | |||
How can I extract hyperlink value | Excel Discussion (Misc queries) | |||
Removing Multiple Hyperlinks | New Users to Excel |