Hi there was wondering if anybody could help I have this code which I am trying to set up so as depending on the month the rest of the code will use a different sheet. My sheets are called TPM1, TPM2 and so on up to TPM 12. the code below for instance works fine but It is fixed on TPM10.
therefore I changed this to read.
where iMonth is the number of month located in cell E4 and set as integer but for this I get a
Run time error 1004: Method Range of object_Global failed error
Can anybody help me/ tell me how to do what I want to. I am new to this and Visual basic for dummies isnt much use.
Cheers David
Bookmarks