Avatar of csehz
Flag for Hungary

asked on 

VBA Excel 2010 - Move sheet to another workbook

Dear Experts,

I would like to move a sheet from workbook to workbook with VBA code, but with that condition that sheet and workbook names should not be defined, as those are always different.

So assuming that only two workbooks are open at the code running moment, could you please advise how to move the active workbook first sheet, to the second workbook as last sheet.

As I can imagine the soluton would be around using pattern Worksheets(1)

Microsoft Excel

Avatar of undefined
Last Comment

8/22/2022 - Mon