Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Clearing Hyperlink formating from undefined # of cells in a column

Are the hyperlinks created using the =HYPERLINK function?

If so, the following won't work

Sub DelAllHyperlinks()
ActiveSheet.HyperLinks.Delete
End Sub


Gord Dibben MS Excel MVP

On Fri, 12 Sep 2008 15:19:01 -0700, Phia
wrote:

I pull metrics on a weekly basis, which include the hyperlink format in the
worksheet. I need to remove the hyperlink in order to remove the headache of
someone reading the report and accidently clicking on the hyperlink and going
no-where.

Right now I manually select each cell in the same column and right mouse
click to remove each hyperlink. If my report is over 100+ rows in length,
this can get tedious and take a long time. So, how do I create a vb
program/macro that will allow me to select the first cell in the column,
remove the hyperlink format, then select the next cell, and continue clearing
the format until there is no more entries in the column?

I've tried to use Range, but there doesn't appear to be a clear format
parameter available. Any help is very much appreciated!


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
Clearing cells without clearing formulas marsjune68 Excel Discussion (Misc queries) 2 April 10th 09 07:39 PM
Converting text to Hyperlink cells in a column Mareadito Siempre Excel Worksheet Functions 3 December 26th 06 09:21 PM
How do I clear a column of data without clearing specific cells? EllenSwarts Excel Discussion (Misc queries) 2 April 5th 06 05:07 PM
How to copy the hyperlink of a list of cells in another column jaya Excel Programming 2 October 8th 05 03:32 PM
Formating column cells Amjad Excel Programming 1 January 9th 04 11:36 PM


All times are GMT +1. The time now is 02:55 PM.

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"