+ Reply to Thread
Results 1 to 4 of 4

Move the content of specific groups of cells in column C to the first cell in that group

  1. #1
    Forum Contributor
    Join Date
    06-29-2012
    Location
    Calgary CA
    MS-Off Ver
    Excel 2010
    Posts
    117

    Thumbs up Move the content of specific groups of cells in column C to the first cell in that group

    Hi Gurus:

    I am trying to get a VBA code to help me move the content of specific groups of cells in column C to the first cell in that group.

    A sample file with "Original" & "How I want it to be" sheets is attached and the requirement is written.

    Thank you for your kind help and have a wonderful day!

    Chris

    Move the content of specific groups of cells in column C to the first cell in that group.xlsx
    Last edited by aviatecar; 09-03-2014 at 03:16 PM. Reason: Solved

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Move the content of specific groups of cells in column C to the first cell in that gro

    Try this

    Please Login or Register  to view this content.
    Open up the VBA editor by hitting ALT F11

    Insert a new module by hitting Insert - Module

    Paste the macro into the empty sheet

    Hit ALT F11 to get back to the worksheet.

    Run the macro by going to tools-macro in Excel 2003 or the view ribbon in Excel 2007/2010.
    Martin

  3. #3
    Forum Contributor
    Join Date
    06-29-2012
    Location
    Calgary CA
    MS-Off Ver
    Excel 2010
    Posts
    117

    Re: Move the content of specific groups of cells in column C to the first cell in that gro

    Thank you Mrice! It works like a charm!

  4. #4
    Forum Contributor
    Join Date
    06-29-2012
    Location
    Calgary CA
    MS-Off Ver
    Excel 2010
    Posts
    117

    Re: Move the content of specific groups of cells in column C to the first cell in that gro

    Hello Mrice:

    I need this code to repeat automatically on each worksheet within the same workbook.
    Would you mind looking at my new thread and help me solve this problem?

    http://www.excelforum.com/excel-prog...-workbook.html

    Thank you,

    Chris

+ 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. Hide groups of cells based on specific value in one cell
    By excelvice in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-06-2014, 09:53 AM
  2. Looking for Nested If Statement to move content of cells to new cell
    By sfadam in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2013, 07:24 PM
  3. Replies: 2
    Last Post: 05-31-2013, 12:01 AM
  4. Replies: 12
    Last Post: 02-21-2013, 12:55 PM
  5. [SOLVED] Move cells containing specific content into a specific column
    By mb5555 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-11-2012, 01:46 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