Hello!
I have a button on a sheet to add new rows using David McRitchie's InsertRowsAndFillFormulas code.
I want to restrict the range that gets used so I came up with this:
If the cursor is in A12:B40, the code works fine. However, if the cursor is in column C (for example), and the button is pushed, I get Run-time error 91, Object Variable or With Block Variable not set.![]()
Please Login or Register to view this content.
Anyone see how to fix this code?
Lost
Bookmarks