+ Reply to Thread
Results 1 to 3 of 3

Copy & Paste Macro only works when grouped cells are expanded?

  1. #1
    Forum Contributor
    Join Date
    02-18-2020
    Location
    Ottawa, ON
    MS-Off Ver
    Professional Plus 2010
    Posts
    122

    Red face Copy & Paste Macro only works when grouped cells are expanded?

    Hi there,

    I have a project management spreadsheet that I've created to keep track of all of my projects. For each project is a checklist. I've created a macro (with the help of you guys) that copies an empty project template (that includes the header and checklist underneath) from one sheet, and pastes it in another under my current projects (so that none of my previous projects get any rows erased.

    The checklist under my project is grouped, so that I can minimize all the project checklists in order to see just the name/location, etc, of all my projects at once. The issue is this: When my checklists are collapsed (for visibility), my macro replaces the checklist of the last project in line, instead of pasting the template 2 rows beneath it. There is absolutely no issue when the checklists are expanded; only when they are collapsed it does this. Here's the macro that you guys helped me create:


    Please Login or Register  to view this content.
    Last edited by Keegan1116; 03-06-2020 at 09:46 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Copy & Paste Macro only works when grouped cells are expanded?

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

  3. #3
    Forum Contributor
    Join Date
    02-18-2020
    Location
    Ottawa, ON
    MS-Off Ver
    Professional Plus 2010
    Posts
    122

    Re: Copy & Paste Macro only works when grouped cells are expanded?

    Oh sorry I didn't know! Done

+ 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] Paste Values (Grouped Cells and Merged Cells)
    By scruz9 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-17-2016, 10:13 PM
  2. Copy & paste no longer works - HELP!!!
    By lucky5678 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-07-2015, 07:16 AM
  3. Replies: 11
    Last Post: 11-04-2013, 04:32 PM
  4. Replies: 2
    Last Post: 10-24-2013, 05:23 PM
  5. Replies: 3
    Last Post: 10-14-2013, 03:06 PM
  6. Copy & paste in macro doesn't paste all cells
    By pltrapper in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-13-2013, 09:22 AM
  7. [SOLVED] I cannot paste from one workbook to another. Copy works, paste do.
    By JimmyMc in forum Excel General
    Replies: 1
    Last Post: 06-10-2005, 11:05 AM

Tags for this Thread

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