+ Reply to Thread
Results 1 to 4 of 4

Insert row within group

  1. #1
    Forum Contributor KBSH's Avatar
    Join Date
    09-16-2015
    Location
    Netherlands
    MS-Off Ver
    2013
    Posts
    113

    Insert row within group

    I'm trying to insert a row within a group, but keeping the group intact.
    I'm using the following (not working) code:
    Please Login or Register  to view this content.
    It would be nice if someone could help me.
    Attached Files Attached Files
    Last edited by KBSH; 03-06-2017 at 11:51 AM.
    I'm mediocre with VBA, but getting there

  2. #2
    Valued Forum Contributor
    Join Date
    09-19-2008
    Location
    It varies ...
    MS-Off Ver
    Office365 - 64bit
    Posts
    862

    Re: Insert row within group

    You only need one line in the ExtraLine sub:
    Please Login or Register  to view this content.
    MatrixMan.
    --------------------------------------
    If this - or any - reply helps you, remember to say thanks by clicking on *Add Reputation.
    If your issue is now resolved, remember to mark as solved - click Thread Tools at top right of thread.

  3. #3
    Forum Contributor KBSH's Avatar
    Join Date
    09-16-2015
    Location
    Netherlands
    MS-Off Ver
    2013
    Posts
    113

    Re: Insert row within group

    Great, that seems to work....the only thing that I still need is that I want to have an "X" on every row (in column A) that is within the group.
    Another macro in my previous attachement uses these X characters.

    Is there an easy way to it?
    Last edited by KBSH; 03-06-2017 at 04:00 PM.

  4. #4
    Forum Contributor KBSH's Avatar
    Join Date
    09-16-2015
    Location
    Netherlands
    MS-Off Ver
    2013
    Posts
    113

    Re: Insert row within group

    Never mind, I already found the awnser...don't know if the code is OK, but it does work.
    Please Login or Register  to view this content.
    Thanks for your help!!!

+ 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: 02-03-2016, 06:43 PM
  2. group matching and insert group of relevant data
    By kitkitkat430 in forum Excel General
    Replies: 1
    Last Post: 10-27-2015, 04:03 AM
  3. [SOLVED] insert a row to every group and change color of every top row of group
    By sspreyer in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-13-2014, 11:00 AM
  4. Replies: 1
    Last Post: 02-10-2014, 10:26 PM
  5. How to insert a group between group
    By seider in forum Excel General
    Replies: 6
    Last Post: 06-11-2013, 10:40 AM
  6. How to Insert New Group in Subtoal Group
    By koolguys4u in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-22-2012, 02:06 PM
  7. insert new row after group
    By h_aesa1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2010, 02:05 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