I am using the (borrowed) code below to select and import a worksheet into my workbook.
Unfortunately it is failing in two places
I assume this is just colouring a tab so I have deleted this line but I can't get over this line
I think is is due maybe to conflicting worksheet names. Ideally I would like it to import all the data on the source worksheet into my own workbook sheet called say "Data". I think that maybe this isn't the right code as it is importing the worksheet and not just the contents of it. However that shouldn't be a problem as I can write code to copy the data from this imported sheet into the one I want then delete the redundant sheet but I still need to overcome the error on import.
Any Idea's?
Bookmarks