Hi there
I was wondering if any you could help.
I have this code that has been working fine. To run the code I was using a click button which up until now has been located on the same sheet (called “Hourly_ Calculations”). Now I would like to move the button to another sheet (Called “Data_Input”) so it is easier for the user. This seems to be causing problems. I know I need to be telling VBA what sheet to use otherwise it will assume the activesheet I think this is were the problem lies but I think I am doing this already, however I am probably incorrect
Anyhow the debugger highlights this line of code
This line of code is included in an if statement as belowPlease Login or Register to view this content.
I’m new to this but I don’t understand why its not working as the sheet the range is on is referred to in the code,Please Login or Register to view this content.
Where am I going wrong
Thank you
Bookmarks