codedreamer
New Member
Hello,
I have a macro that changes the tab name of every worksheet in the workbook. It does work as long as all the worksheets in the workbook have data in them, but ocasionally, I will not be using all the worksheets. That is when I get a "run time error 1004"
Application-define or object define error.
How can I get the macro to still work even when I am not using all the worksheets?
Thank you,
codedreamer
I have a macro that changes the tab name of every worksheet in the workbook. It does work as long as all the worksheets in the workbook have data in them, but ocasionally, I will not be using all the worksheets. That is when I get a "run time error 1004"
Application-define or object define error.
How can I get the macro to still work even when I am not using all the worksheets?
Thank you,
codedreamer