How do I create a code whereby it checks if the cell contains a strikethrough or underline (or both) then it does something, otherwise it wont, and will check the next cell.
How do I create a code whereby it checks if the cell contains a strikethrough or underline (or both) then it does something, otherwise it wont, and will check the next cell.
Hi dweebz,
What range are you working with?
Robert
____________________________________________
Please ensure you mark your thread as Solved once it is. Click here to see how
If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post
The range I'm working with is from the first row of the last column, to the last row of the last column.
This is my code to colour strikethrough text blue and underlined text red, but it's really slow and i'm trying to find a way to optimise this process.
So i thought, if I include a feature where, if the cell does not contain a strikethrough nor underline, it will skip it and go to the next cell, therefore making it more efficient.
But I haven't figured out a way to integrate that sort of feature into my code below.
Please help
Please Login or Register to view this content.
Last edited by dweebz; 05-26-2016 at 02:39 AM.
Try this:
Regards,Please Login or Register to view this content.
Robert
Last edited by Trebor76; 05-26-2016 at 02:59 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks