+ Reply to Thread
Results 1 to 5 of 5

Summary of all Sheets

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Summary of all Sheets

    Hello:

    Please refer to attached sheet.

    I have excel workbook with data for each month.
    I need a VB Macro to copy all the data from each month from Cell B4 to end of data into "Summary" Sheet.

    In Summary sheet column A would need to be the name of the month the data is from.

    I have manually copied 2 months of data in Summary Sheet.
    Please see the name of the month in column A and this is how i need it.

    Please let me know if any questions.

    Thank you

    Riz Momin
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Summary of all Sheets

    SummarizeTabs.xlsmRizMomin,

    I am new to VBA and learning a lot from the members of this site.
    Please review the attached spreadsheet, the vba does what you want but I am not too sure how to add the sheet name the data is coming from into the summary tab, sorry.
    I would be interested in how to do this myself! I am sure you will see someone come up with the answer from here.

    Thanks
    ==========
    Bigroo1958
    Austin, Texas
    ==========

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Summary of all Sheets

    Hi Riz,
    I can not attach the sample as it is too big.
    Try this on your actual and will adjust if necessary.

    Please Login or Register  to view this content.
    Last edited by AB33; 08-04-2013 at 07:49 AM.

  4. #4
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Summary of all Sheets

    Hi AB33:

    The code seems to work except the date in column A of Summary sheet.
    The date it shows is 1/11/2013, 2/11/2013,3/11/2013, and so on.
    Since the name of the monthly tab is Jan11,Feb11,Mar11, and so on, the date in column A of Summary sheet needs to be 1/1/2011,2/1/2011, and so on.
    IF monthly sheet names are Jan12,Feb12, and so on then the date in column A of summary sheet would need to be 1/1/2012, 2/1/2012, and so on.

    Please let me know if any questions.

    Thank you

    Riz Momin

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Summary of all Sheets

    Hi Riz,
    Add this line below or above the formatting line with number
    ms.Range("D2:K" & Rows.Count ).NumberFormat = "#,###0.00"


    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Summary of all Sheets

    Hi AB33:

    I have added the above line of code and now it is giving result as 11/01/2013 for Jan11 sheet, 11/02/103 for Feb11 sheet and so on.

    Please have a look and let me know.

    Thank you

    Riz Momin

+ 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. [SOLVED] Summary sheet - copy cell contents from multiple sheets to one summary sheet
    By jsmity in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 10:32 AM
  2. Create a summary from multiple sheets on a master/summary sheet
    By detribus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2012, 08:04 PM
  3. [SOLVED] Multiple Sheets be reflected in 1 sheets as a summary (looping)
    By Kooper in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-21-2012, 03:21 AM
  4. Copy specific cell from multiple sheets to summary - excluding some sheets
    By kabammi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2012, 09:27 AM
  5. Link Through Summary Sheets
    By CacheUK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2008, 08:01 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