Hi Guys,
Any chance there is someone that can help me get this right?
Please Login or Register to view this content.
Hi Guys,
Any chance there is someone that can help me get this right?
Please Login or Register to view this content.
Where is ColumnsWidth supposed to get its value? Is it even necessary, given that you aren't using it in the code? (it's not clear if you meant to, or if you just want the current width increased by 5)
Rory
Here you go, spell mistake in declared variant.
use Option Explicit at begining of the module, to prevent these errors.
Please Login or Register to view this content.
Regards,
Thangavel D
Appreciate the help? CLICK *
I just want the current width increased by 5
I have "Option Explicit " at the top of the Module, and I get no Errors when debugging?
I corrected the spelling mistake.
Udklip.JPG
Then all you need is this:
Please Login or Register to view this content.
Thanks rorya
It still gives me an Error!
I have attached the workbook and a picture, maybe I am missing something.
I the odd thing is, it works if I run any other macro first?? Udklip.JPG
It looks like your worksheet is protected, so you'll need to unprotect it first.
Thanks rorya
Yes, that was the problem, and it is sortet out now.
Thankyou for your help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks