I have been trying to enter the names of sheets and worksheets by use of intputbox here is the code i have used. When i type the name (sheet) into the code manually it works when i use the inputbox it doesn't, any ideas why. I have commented out one of the variables (subject) so that i can just look at what happens with one of them. I will try to get a dumy sheet but it is hard as all the data is confidential.
The error i get is a run time error 1004 and application defined or bject defined error
Bookmarks