+ Reply to Thread
Results 1 to 2 of 2

Inserting cells within a set range

  1. #1
    Registered User
    Join Date
    12-13-2013
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    78

    Inserting cells within a set range

    I have a worksheet to record the days events as text. To keep everything visible on the screen I use the Range C2:C32,F2:F32. So, events are recorded first in C2 then C3 ... C32 then up to F2 then F3 and so on.
    I have been asked to provide a way to enter cells if something was forgotten, events should be in the order they happened. It is important that cells are not added at the bottom as it moves formatting and command buttons so, that's why I have it delete cells just below the range.

    This code works quite nice and I have a separate Macro for Column 6 and that works nice.
    Please Login or Register  to view this content.
    Now the problem is when text gets down to C32 it will be lost. What I need is a way to have C32 get moved to F2 when I insert anywhere above C32.

    Is this possible?

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Inserting cells within a set range

    Hi
    this macro will copy the value of each cell in the range C2:F32 into the cell below, or the next column if it reaches the end of your range
    it only works with values - if your cells contain formulas, they will be lost

    Please Login or Register  to view this content.

+ 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] Inserting Contents of Range of Cells Into Another Range
    By wowcroftypa in forum Excel General
    Replies: 4
    Last Post: 05-24-2016, 01:23 PM
  2. [SOLVED] Inserting 3 cells to the right for each cell in a range
    By spcw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2014, 01:52 PM
  3. [SOLVED] Need help deleting/inserting cells in a range which repeats in VBA
    By ports83 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-12-2012, 05:41 AM
  4. Inserting comments into range of cells
    By rakesh.a.r in forum Excel General
    Replies: 4
    Last Post: 07-04-2012, 07:32 AM
  5. inserting spesific range of cells.
    By st0kvis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2011, 07:34 AM
  6. Inserting range and expanding cells in tables
    By energizek in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2010, 12:10 AM
  7. Inserting a formula into a range of cells using VBA
    By NBVC in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-13-2007, 11:11 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