+ Reply to Thread
Results 1 to 4 of 4

Create 100 copy of a excel file with unique name

  1. #1
    Registered User
    Join Date
    04-28-2020
    Location
    Toronto
    MS-Off Ver
    2016
    Posts
    27

    Create 100 copy of a excel file with unique name

    Hi

    I want to make 100 copies of an excel file with unique name( 1,2,....100) and paste them into a folder in my computer

    i want also link the name of file ( 1,2,...3) into a specific cell in each file

    for example :
    the name of first copy is 1 and the Cell A1 is also 1
    the name of second copy is 2 and the Cell A1 is also 2
    the name of third copy is 3 and the Cell A1 is also 3
    .
    .
    .
    the name of 100th copy is 100 and the Cell A1 is also 100

    is it possible to do it with VBA?

    Thank you so much

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,461

    Re: Create 100 copy of a excel file with unique name

    Some suggestions you may fund useful:
    1. Our answerers are looking to "help" more often than they are looking to "do an entire project for you for free".
    2. Jump into this project yourself, when you get stuck on ONE specific hurdle, post that ONE item as a forum question.
    3. Show us what you've tried in an attached sample workbook and how it's not working for you. When you're doing the work yourself, just writing out a complete example question in a forum often points you to solution before you even finish posting.
    4. If you can't make any headway at all and no help is forthcoming in the free forum(s), we do have a Commercial Services forum where you can pay for assistance directly from our EF gurus."

  3. #3
    Valued Forum Contributor
    Join Date
    11-04-2018
    Location
    Denpasar
    MS-Off Ver
    Excel 2010
    Posts
    777

    Re: Create 100 copy of a excel file with unique name

    Assuming that the sheet which will contain 1,2,3,4 and so on in cell A1 has no data (blank) and the name of this sheet is "Sheet1":
    Please Login or Register  to view this content.
    The "num" line is to have a text number like 001 002 003 for naming the copied file,
    in order the copied files will sort-name correctly in the target folder.
    The 100 copied files will be placed in drive D folder target, so this must be prepared before hand.
    The ActiveWorkbook is the file to be copied 100 times.

    The macro is in the ActiveWorkbook which already saved with xlsm extension.
    Last edited by karmapala; 01-18-2021 at 04:39 AM.

  4. #4
    Registered User
    Join Date
    04-28-2020
    Location
    Toronto
    MS-Off Ver
    2016
    Posts
    27

    Re: Create 100 copy of a excel file with unique name

    Thank you so much

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to copy sheets & create new file with unique filename? Also populate cells?
    By whahmira in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-27-2018, 07:54 AM
  2. [SOLVED] Macro Required -To Create 1000 copy of XML file with unique value for one tag
    By mak177 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-08-2015, 09:57 AM
  3. Create backup copy of excel file in VB
    By t3623gl in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2012, 03:57 PM
  4. Replies: 3
    Last Post: 09-30-2011, 04:35 AM
  5. Excel 2007 create a copy of a file using vb on form
    By colmac in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-28-2011, 04:02 AM
  6. Replies: 1
    Last Post: 10-17-2005, 04:05 AM
  7. [SOLVED] How do I create a unique identifier # when open excel file?
    By ritarowe in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-28-2005, 02:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1