I am trying to run the following code but I keep getting the error "Run-time error 91: Object variable or With block variable not set"
(I highlighted in brown the portion of the code that gets highlighted when I enter debugging mode)![]()
Please Login or Register to view this content.
I have tried to introduce workingRange asand then removing the Range functions from workingRange in the rest of the code, but then I get other errors. What confuses me the most is that before I saved and closed the workbook that contains this macro, I ran the macro once successfully, so I find it strange that this error would only appear now?![]()
Please Login or Register to view this content.
I hope someone can see what is wrong with this code?
Bookmarks