D
Damascus
Hi everyone,
I created a macro a few weeks ago and used it a lot immediately
afterwards, but I haven't touched it in a while. I have made some
other changes to the spreadsheet since then and when I went to use it
again just now, I keep getting an error message "Object Required".
Nothing has changed in the code and I'm at loss as to what the problem
could be.
The only thing I can think of is that a new worksheet was added, and
the macro uses worksheet indexes... I've fooled around with the code
to try and see if this might have been the problem but to no avail.
All the code is inside a userform, and pasted below:
I created a macro a few weeks ago and used it a lot immediately
afterwards, but I haven't touched it in a while. I have made some
other changes to the spreadsheet since then and when I went to use it
again just now, I keep getting an error message "Object Required".
Nothing has changed in the code and I'm at loss as to what the problem
could be.
The only thing I can think of is that a new worksheet was added, and
the macro uses worksheet indexes... I've fooled around with the code
to try and see if this might have been the problem but to no avail.
All the code is inside a userform, and pasted below: