hello,
i have names of sheets stored in Shno1, shno2,shno3 and so on. I would like to refer this in a for loop with increment variable (i) and the following code is either incorrect on logic / syntax. can i get the right one please.
Workbooks(firstfile).Sheets(shno(i)).UsedRange.Copy
Ex:
i have Sheetx, SheetY, SheetZ stored in variable shno1,shno2,shno3 respectively and i have to use the above code which should refer to these sheets.
Thanks.
Bookmarks