Hi everyone,
I'm trying to clear comments for a few cells as below, but the code does not work. Do you know why?
Please Login or Register to view this content.
Hi everyone,
I'm trying to clear comments for a few cells as below, but the code does not work. Do you know why?
Please Login or Register to view this content.
You'll also need to check the cell actually contains a comment or it'll error...Please Login or Register to view this content.
Hi blillj:
The syntax to specify specific cells in the range is:
but, if the range is contiguous as in your code (wasn't sure if it is just an example or the real code), I'd use:Please Login or Register to view this content.
Please Login or Register to view this content.
Last edited by Arkadi; 03-14-2017 at 09:09 AM.
Please help by:
Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know
There are 10 kinds of people in this world... those who understand binary, and those who don't.
As cytop wisely pointed out, you will get errors when there are no comments, perhaps:
Please Login or Register to view this content.
Or simply this
Please Login or Register to view this content.
Don
Please remember to mark your thread 'Solved' when appropriate.
@ xlnitwit, lol... I hate not thinking of the obvious! Nice job.
Thank you. Sometimes it's good to have a brain that only thinks in straight lines!
Many thanks, everyone. It works perfectly now
You're welcome, thanks for marking as solved, the rep, and the feedback
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks