+ Reply to Thread
Results 1 to 4 of 4

issue macro copying not required data for summarizing information

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    issue macro copying not required data for summarizing information

    I have a workbook with several sheets .

    The code below copy all sheets to a summary sheets by inserting the sheetname and its data per sheet.

    But the issue is that it recopies on itself ,the summary data which is wrong in the summary sheet.

    The green tab is the summary sheet is the correct results

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by JEAN1972; 01-13-2019 at 04:04 AM. Reason: type

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: issue macro copying not required data for summarizing information

    It's case sensitive. Your summary sheet is called "Summary" and your code is looking for "SUMMARY".

    So either change this line:
    Please Login or Register  to view this content.
    To:
    Please Login or Register  to view this content.
    Or:
    Please Login or Register  to view this content.
    BSB

  3. #3
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: issue macro copying not required data for summarizing information

    Thank you working now

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: issue macro copying not required data for summarizing information

    Happy to help

    BSB

+ 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. Replies: 1
    Last Post: 06-04-2018, 01:57 PM
  2. VBA Macro - Summarizing Data
    By jessello in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-31-2015, 11:06 AM
  3. Replies: 4
    Last Post: 04-26-2015, 03:26 AM
  4. [SOLVED] Macro and summarizing data
    By Ejb123erok in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-31-2014, 05:40 PM
  5. Issue with Macro Copying data from one worksheet to another
    By jcg894 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2014, 05:03 PM
  6. Summarizing/Copying dynamic ranges of data to new sheet?
    By Tomkat in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2010, 01:53 PM
  7. Summarizing with information from multiple columns
    By rooney09 in forum Excel General
    Replies: 1
    Last Post: 08-23-2010, 05:40 PM

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