Results 1 to 6 of 6

Thread: How To Copy Data By Worksheet Name

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Sep 2012
    Posts
    14
    Rep Power
    0

    How To Copy Data By Worksheet Name

    Hi,

    My workbook has sheet "Main" and other sheets with names like Oct-2012, Nov-2012 ....Ian-2013... Dec-2020)

    Sheet "Main" is a report, all other sheets are hidden.

    In B7 you can choose "All" or Name1, Name2....Name27
    In B2 you can choose January, February ....December
    In D2 you can choose 2010, 2011, .....2020

    If in B7 is "ALL" and in B2 (month) October and in D2 is 2012 Then:
    It will copy range(B8:B34) of sheet Oct-2012 in "Main" worksheet in Range (B8:B34).
    It will copy range(C8:Q34) sheet Oct-2012 in the "Main" sheet Range (D8:R34).

    If B7 is "ALL" and in B2 B2 (month) Novembre and D2 is 2012 then:
    clean range(B8:B34) and Range (D8:R34) in sheet "Main"
    It will copy range (B8: B34) of sheet Nov-2012 in "Main" worksheet in Range (B8: B34).
    It will copy range (C8: Q34) sheet Nov-2012 in "Main" worksheet in Range (D8: R34).

    and so on ...

    if in B7 if you not choose "All" then will be no data in range(B8:B34) and Range (D8:R34).

    Thanks for any help.
    Attached Files Attached Files
    Last edited by TomyLee; 08-04-2013 at 02:27 AM.

Similar Threads

  1. Replies: 2
    Last Post: 07-02-2013, 06:52 PM
  2. Copy Template Worksheet And Rename With Custom Name
    By peter renton in forum Excel Help
    Replies: 5
    Last Post: 06-07-2013, 03:50 PM
  3. Dynamic Worksheet Generator Sheet Copy
    By mfaisalrazzak in forum Excel Help
    Replies: 2
    Last Post: 03-01-2013, 05:38 PM
  4. Print Nth Worksheet To Mth Worksheet using VBA
    By Ryan_Bernal in forum Excel Help
    Replies: 2
    Last Post: 02-28-2013, 06:57 PM
  5. Replies: 5
    Last Post: 12-05-2012, 03:01 AM

Tags for this Thread

Posting Permissions

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