+ Reply to Thread
Results 1 to 3 of 3

Find date in column, then insert row below it, and add values to a range inside that row.

  1. #1
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    Find date in column, then insert row below it, and add values to a range inside that row.

    I need to:

    1. Search column F for a date stored as SEARCHDATE
    2. Insert a row below the date.
    3. Save the new row number to variable NEWROW
    4. Change the values in range ("G" & NEWROW : "BM" & NEWROW) to the FORMULA of the cell directly above them. Basically, it would need to have the same effect as clicking the little black box in the corner of the cell above each one and dragging down, as it needs to update its cell reference to the new cell.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Find date in column, then insert row below it, and add values to a range inside that r

    This is a lot harder than you might think.

    Excel messes about with times and dates.

    The best thing to do is to post a sample spreadsheet showing your dates and your search date.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Find date in column, then insert row below it, and add values to a range inside that r

    Maybe:

    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. Find most recent date in Column Headings in a Range, insert new column and heading
    By mikey3580 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2014, 08:28 AM
  2. [SOLVED] VBA Loop Range and Insert Values in New Column
    By PolleschFiles in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-21-2014, 10:40 PM
  3. [SOLVED] vba code to find Duplicate Values and Newest date(Max) date in the Corresponding Column(ce
    By Pradu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-10-2013, 05:20 AM
  4. Macro - Find column headed date and insert 2 new columns after it
    By Jessica.Bush in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-06-2012, 02:57 PM
  5. Replies: 8
    Last Post: 12-08-2008, 12:54 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