Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Create folder and copy 2 sheets

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Posts
    6
    Rep Power
    0

    Create folder and copy 2 sheets

    Hello,

    I would like to help me with the following problem:
    In an excel file I have two spreadsheets, "Main" and "BC"​​. In sheet 1 (called Main) in cell C2 = Month and year in D2. I want to create a folder with the name of the D2, and a file with the name of the C2 here to copy Sheet "Main" and change its name to "Month Year" (C2 & D2), and then copy sheet BC with Name "BC Month Year". The same sheets that were created I want to be copied and the file where the code is released.

    Ex. In sheet "Main" in C2 is May and in D2 = 2012. I want to create a folder named 2012 and here a file named May. This will create sheets "May2012" (which will be copied sheet Main) and "BC May2012" (which will copy the sheet BC).
    The same sheets that were created I want to be copied and the file where the code is released.

    Anticipated thanks to everyone who will help me.
    Last edited by Conan; 09-13-2013 at 03:24 PM.

  2. #2
    Member
    Join Date
    Jun 2013
    Posts
    93
    Rep Power
    12
    attach please a sample file for testing

  3. #3
    Junior Member
    Join Date
    Sep 2013
    Posts
    6
    Rep Power
    0
    Patel, thanks for reply.

    I attached a file with no data. Are confidential.
    Attached Files Attached Files
    Last edited by Conan; 09-13-2013 at 04:18 PM.

  4. #4
    Member
    Join Date
    Jun 2013
    Posts
    93
    Rep Power
    12
    sample file means a file with dummy data, not empty file

  5. #5
    Junior Member
    Join Date
    Sep 2013
    Posts
    6
    Rep Power
    0
    Patel,

    Why is it necessary layout of data in the spreadsheet? If I want to copy ALL sheet
    If you need more details, just ask.
    Last edited by Conan; 09-13-2013 at 08:14 PM.

  6. #6
    Member
    Join Date
    Jun 2013
    Posts
    93
    Rep Power
    12
    It's necessary for me, but you can wait for others answers

  7. #7
    Junior Member
    Join Date
    Sep 2013
    Posts
    6
    Rep Power
    0
    Quote Originally Posted by patel View Post
    It's necessary for me, but you can wait for others answers
    Patel,
    If you can help me, fine, if not, let others who will ...

  8. #8
    Senior Member alansidman's Avatar
    Join Date
    Apr 2012
    Posts
    125
    Rep Power
    14
    With sample data in your spreadsheet, it makes it easier to test the solution to make sure it works before it is posted for your use. It also saves those willing to help from having to re-create your issue using their assumptions of how you set up, formatted and have data.

  9. #9
    Junior Member
    Join Date
    Sep 2013
    Posts
    6
    Rep Power
    0
    Quote Originally Posted by alansidman View Post
    With sample data in your spreadsheet, it makes it easier to test the solution to make sure it works before it is posted for your use. It also saves those willing to help from having to re-create your issue using their assumptions of how you set up, formatted and have data.
    It looks like you did not read carefully what I wrote in my post and attached file. Because I want to copy ALL the spreadsheet, why do you need to see the formatting, because it will automatically copy. Then why should be seen spreadsheet format??

  10. #10
    Junior Member
    Join Date
    Sep 2013
    Posts
    6
    Rep Power
    0
    Guess all the guys that helped have gone on this site....
    Last edited by Conan; 09-18-2013 at 03:50 PM.

Similar Threads

  1. Split Workbook In To Sheets, Export To Folder and Move File
    By doug@powerstroke.us in forum Excel Help
    Replies: 2
    Last Post: 05-22-2013, 06:45 PM
  2. Replies: 7
    Last Post: 05-08-2013, 07:12 PM
  3. VBA -- Copy/Paste across sheets
    By Rasm in forum Excel Help
    Replies: 4
    Last Post: 09-21-2012, 02:07 PM
  4. Copy Sheets To New Workbook And Save
    By Prabhu in forum Excel Help
    Replies: 5
    Last Post: 09-06-2011, 09:35 PM
  5. Replies: 0
    Last Post: 04-03-2011, 07:57 PM

Posting Permissions

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