Hello,
I have a tiny bit of code that behaves erratically and I cannot figure out why.
The problem lies with "Start_Cell.Offset(1,0)". For some reason "Set Start_Cell = Start_Cell.Offset(1, 0)" raises an "Object required" error.Please Login or Register to view this content.
The first "MsgBox (Start_Cell.Offset(1, 0))" works fine. Opening a new workbook, inserting a new userform and pasting the same code and entering "Start" in a cell have the same behaviour - it raises an error. Closing all Excel workbooks, opening a new one, inserting a userform, etc. works fine.
I also tried declaring another range variable and setting it to the offset, instead. I.e.:
Same error.Please Login or Register to view this content.
I am at a dead end. :/
Bookmarks