Hi all,
I'm trying to auto fit rows that are merged. I have tried this code:
But end up with a "Run-time 91" error. "Object variable or With Block variable not set." The debug then highlights "If Target.MergeCells Then".![]()
Please Login or Register to view this content.
I'm new to VBA and am unsure how to personalise this VBA (it was written for someone else).
Thank you in advance
Bookmarks