Results 1 to 24 of 24

Copy temp hidden sheets

Threaded View

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Copy temp hidden sheets

    Hello everyone
    I have in Sheet1 two tables(Columns A:G) and (Columns I:O)
    Based on sheet1.range("Q2:Q9") I need to copy two temp (will be hidden) sheets ..

    First:
    -----
    TempA sheet would be copied and the new copied sheet would be renamed by Q2 value which is here "Com 1" and add the suffix "A" and copy range("A" & range("R2").value &":C" & range("S2").value) .. A2:C22 (according to the columns R & S
    As for cell A3 in the new copied sheet would be the value of Sheet1.range("Q2").value

    Second:
    -------
    TempB sheet would be copied and the new copied sheet would be renamed by Q2 value which is here "Com 1" and add the suffix "B" and copy range("I" & range("R2").value &":K" & range("S2").value) .. I2:K22 (according to the columns R & S
    As for cell A3 in the new copied sheet would be the value of Sheet1.range("Q2").value


    and so on with all the cells in range("Q2:Q9"). That means that the new sheets that would be created would be 8 * 2 = 16 sheets
    COM 1A
    COM 1B
    COM 2A
    COM 2B
    COM 3A
    COM 3B
    And etc ...

    Another last point to put borders in the new sheets for range("A4:L" & LastRow)

    Thanks advanced for help
    Attached Files Attached Files
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy specific data from a sheet to temp sheet and copy temp sheet to new workbook
    By ANUARORA in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-18-2015, 11:58 AM
  2. Replies: 1
    Last Post: 01-12-2015, 08:07 PM
  3. how to copy specific data from a sheet to temp sheet and copy temp sheet toa new workbook?
    By NatashaKapoor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-18-2014, 09:01 AM
  4. [SOLVED] Format all cells in all sheets to Protection Hidden on visible and hidden tabs
    By DeRo22 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-28-2014, 03:17 PM
  5. [SOLVED] trying to access the excel sheets/Tabs in the hidden/very hidden mode through hyperlinks
    By Kiran Kurapati in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-30-2013, 06:50 AM
  6. macro copy paste on protect sheets and hidden within the same workbook
    By Birnen in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-30-2010, 02:18 PM
  7. copy and pasting in hidden sheets
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-04-2008, 11:34 AM

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