Is there a way to delete comments in a selected range of blank cells?
Thanks again in anticipation.
Is there a way to delete comments in a selected range of blank cells?
Thanks again in anticipation.
Last edited by Fairport; 05-06-2009 at 07:19 PM.
Something like
Please Login or Register to view this content.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Like this:
Please Login or Register to view this content.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Thanks guys for both solutions, spoilt for choice now!! Both will be used in different parts of the project, (fair play and all that)
Or ...
Please Login or Register to view this content.
Last edited by shg; 05-06-2009 at 07:33 PM.
Entia non sunt multiplicanda sine necessitate
The code that I posted will clear comments fromany blank cells containing comments within the selected range. It doesn't loop through all the cells in the selection and so is potentially faster.
Indeed royUK, it is faster. The spreadsheet I've inserted the code in has over 7500 data rows. The other method works well but is noticably slower. Thank you shg for your example, I'll try that one too when I get the oportunity.
Thanks everyone for your help on this one. So many routes to the same destination!
There's often several approaches to an Excel problem - it's always good to see different suggestions. You could avoid using Selection if you are working with all the data on a particular sheet - just use UsedRange
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks