Hi All,
I want to execute a macro on a sheet that will change it's name over time so thought I'd use the ActiveSheet syntax but I'm not sure how to go about it. When I click a Command Button I want this macro to execute on the same sheet and only the sheet that the Command Button is located on but it can't be name dependant if that makes sense?
I've previously had the code for doing this on a sheet that's named in the macro but really just need someone to point me in the right direction.
Thanks everyone and sorry for the noob question but VBA is not the easiest thing to Google it seems .
I want to execute a macro on a sheet that will change it's name over time so thought I'd use the ActiveSheet syntax but I'm not sure how to go about it. When I click a Command Button I want this macro to execute on the same sheet and only the sheet that the Command Button is located on but it can't be name dependant if that makes sense?
I've previously had the code for doing this on a sheet that's named in the macro but really just need someone to point me in the right direction.
Thanks everyone and sorry for the noob question but VBA is not the easiest thing to Google it seems .