![]() |
Copying sheets to a new workbook
How can I copy multiple sheets to the same workbook through VBA? -- kev_06 ------------------------------------------------------------------------ kev_06's Profile: http://www.excelforum.com/member.php...o&userid=35046 View this thread: http://www.excelforum.com/showthread...hreadid=548001 |
Copying sheets to a new workbook
Try
Sheets(Array("Sheet1", "Sheet3")).Copy after:=Sheets(Sheets.Count) -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "kev_06" wrote in message ... How can I copy multiple sheets to the same workbook through VBA? -- kev_06 ------------------------------------------------------------------------ kev_06's Profile: http://www.excelforum.com/member.php...o&userid=35046 View this thread: http://www.excelforum.com/showthread...hreadid=548001 |
Copying sheets to a new workbook
The code got line-wrapped in the post. It should all be on one
line in VBA. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Chip Pearson" wrote in message ... Try Sheets(Array("Sheet1", "Sheet3")).Copy after:=Sheets(Sheets.Count) -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "kev_06" wrote in message ... How can I copy multiple sheets to the same workbook through VBA? -- kev_06 ------------------------------------------------------------------------ kev_06's Profile: http://www.excelforum.com/member.php...o&userid=35046 View this thread: http://www.excelforum.com/showthread...hreadid=548001 |
All times are GMT +1. The time now is 11:03 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com