+ Reply to Thread
Results 1 to 4 of 4

Copy 6 Worksheet Patse To Totalsheet By The Last Row

  1. #1
    Forum Contributor
    Join Date
    09-22-2007
    Posts
    119

    Copy 6 Worksheet Patse To Totalsheet By The Last Row

    Hi,any person can help me with the excel macro VBA code for copy 6 sheets to the new worksheet name(total of 6 worksheets ) in the same workbook.
    I have 6 worksheet(A),worksheet(B),worksheet(C),worksheet(D),worksheet(E),worksheet(F) .The data in that 6 worksheets as the same format begin in column A1 of row A3 to the colum F1 rowF3
    this 6 worksheets in the cell A1 have the name for the sheet ex.001 in worksheet(A),002 in worksheet(B),003 in worksheet(C),.............

    I wish to copy all data of begin from the range B3,C3,D3,F3,G3 of that6 worksheets to worksheet (total of 6 workshets ) by begin at the Row of A7
    this worksheet format in cell B2 ,C2,D2,E2,F2,G2 use for key in the
    number sheet name of that 6 workseets as 001,002,003......

    when the user key in the number of that 6 worksheet in cell B2 ,C2,D2,E2,F2,G2 and run the macro .,
    the all data from the begin of the range B3,C3,D3,F3,G3 of that6 worksheets will paste to the worksheet (total of 6 workshets ) begin at the Row of A7 ...sheet 002 in the last row of 001 ,sheet 003 in the last row of 002 ,sheet004 in the last row of 003.....,sheet 005 in the last roe of 004,sheet006 in the last roe of 005 etc.
    Thank.
    Last edited by pichai; 01-06-2008 at 02:57 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Why have data spread over 6 worksheets/ A well designed workbook should have all the data on one sheet & then you can summarise?report on that data using Excel's database tools such as PivotTables.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    09-22-2007
    Posts
    119
    Thank,roy UK
    yes my worksheet have 6 sheets and one sheet with the total from 6 sheets
    i want the macro code to run by copy from 6 sheets to the total sheet
    as the ex.
    can you help me ,please
    Attached Files Attached Files
    Last edited by pichai; 01-06-2008 at 07:47 AM.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    See if this link gets you started

    http://www.rondebruin.nl/copy2.htm

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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