troubleshooting Question

VBA Excel 2010 - Move sheet to another workbook

Avatar of csehz
csehzFlag for Hungary asked on
Microsoft Excel
18 Comments4 Solutions4194 ViewsLast Modified:
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)

thanks,
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 4 Answers and 18 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 18 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros