What is the Macro code for creating n number of duplicate excel workbooks with different names?

 Question:

  What is the Macro code for creating n number of duplicate excel workbooks with different names containing same data?




 Answers: 


Try using the Makro Recorder, it helped me a lot. Start recording and then just make a copy of a worksheet and stop it again. It will generate some code in a new module. Now you can use this code to wrap it in a loop for example and create as many worksheets as you like. But beware, I think there is a certain limit of worksheets per workbook.
How to use the makro recorder (Excel 2010): https://support.office.com/en-us/article/Quick-start-Create-a-macro-455512ef-3532-404e-b8dd-ea6589512c1b?ui=en-US&rs=en-US&ad=US
Hope that helps :-)

Commentaires

Posts les plus consultés de ce blog

XAJAX with PHP – The future of web development

XAJAX with PHP – The future of web development

Database connection pooling in ADO.Net