Hi, I'm new to Macros and created one to take certain data from an existing workbook to be placed on a new sheet, which then renames it and moves it to its own workbook. All goes well until I run a similar Macro with different data. Apparently since I'm in the same session, this new sheet will be named Sheet2, an error is returned "subscript out of range". If I close Excel, and reopen I'll be able to run either Macro since Excel is back to Sheet1 again. I have very limited knowledge of VBA but could easily edit the code if it's only the matter of changing Sheet1 to SheetAny, or whatever. Thanks PS Macros were made using the recorder.
Last edited: