+ Reply to Thread
Results 1 to 9 of 9

Copy Specific Cells in All Active Worksheets to Summary Sheet

  1. #1
    Registered User
    Join Date
    01-10-2018
    Location
    SCotland
    MS-Off Ver
    2016
    Posts
    3

    Copy Specific Cells in All Active Worksheets to Summary Sheet

    Hi,
    Completely new to VBA so all help much appreciated. I am attempting to write a macro to copy specific cells (ie B2, B4, G6, H22) from all active worksheets in a workbook (the number of worksheets will increase through time) and paste the values into a summary sheet called ‘Register’ in the same workbook. I would like the macro to delete all entries in the Register initially then copy the values from all current worksheets.
    I have tried a few that I found online but cannot get them to work.
    All help is much appreciated.

    Example spreadsheet now attached.
    Attached Files Attached Files
    Last edited by TweetyS; 01-10-2018 at 09:29 AM. Reason: Adding attachment

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Copy Specific Cells in All Active Worksheets to Summary Sheet

    Attaching a sample workbook enables others to work on your problem:

    To attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and click "manage attachments" to open the upload window.


    To add a file to a post

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,336

    Re: Copy Specific Cells in All Active Worksheets to Summary Sheet

    Hi TweetyS

    Welcome to the forum...
    Give this a go...Not sure of G6...Has no value so for this exercise I used B6...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  4. #4
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,157

    Re: Copy Specific Cells in All Active Worksheets to Summary Sheet

    Another example, with pre-sorting of sheets:
    Please Login or Register  to view this content.

  5. #5
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,336

    Re: Copy Specific Cells in All Active Worksheets to Summary Sheet

    Thanks for rep...Does this solve?

  6. #6
    Registered User
    Join Date
    01-10-2018
    Location
    SCotland
    MS-Off Ver
    2016
    Posts
    3
    Works perfectly. You're a star!!!
    Thanks 😇😇

  7. #7
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,336

    Re: Copy Specific Cells in All Active Worksheets to Summary Sheet

    Pleasure, pls mark thread as solved

  8. #8
    Registered User
    Join Date
    01-10-2018
    Location
    SCotland
    MS-Off Ver
    2016
    Posts
    3
    Can you tell me how to do that? On phone as I've discovered my work pc lets me post but settings won't let me reply. Thanks again 😊

  9. #9
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,336

    Re: Copy Specific Cells in All Active Worksheets to Summary Sheet

    Top of post...Thread Tools..."Mark as Solved"

+ 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] Copy & Paste specific cells to a summary sheet
    By JackSmith123 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-27-2016, 02:08 AM
  2. Copy rows from all worksheets into summary tab if specific cell is not blank
    By Kcav in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2014, 05:49 PM
  3. [SOLVED] Macro button copy specific rows from all worksheets to a summary sheet
    By cme in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-17-2013, 10:22 PM
  4. Copy active row and paste to specific cells on different sheet
    By XxCMoneyxX in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2013, 03:03 PM
  5. Copy the data in any active row in Sheet 1 to specific cells in Sheet 6
    By cti4sw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2013, 02:43 PM
  6. Search multiple worksheets and copy cells to summary sheet
    By crttrlvr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-09-2012, 03:01 PM
  7. Replies: 4
    Last Post: 03-12-2012, 10:16 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