Hi guys,
I'm having trouble getting a worksheet to copy after the sheet I want.
I have a number of worksheets (currently numbered 1 to 10) as well as some others called various different things - the important thing is that the worksheet named 1 is not the first sheet in the workbook (and I don't want to hard code it as it may change).
My problem is that when I create a worksheet called 4, it is being inserted after the 3rd worksheet, not the worksheet called 3.
Hope that makes a bit of sense!!
I think it's this line that is the problem:
Ideally I would like to use the codename property but I can't seem to make that work.
Thanks in advance 
Sandra
Bookmarks