+ Reply to Thread
Results 1 to 3 of 3

VBA Macro to Insert New row/s based on two dates

  1. #1
    Registered User
    Join Date
    02-27-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    77

    VBA Macro to Insert New row/s based on two dates

    Hi,

    I need to insert blank row/s between the missing dates and fill the missing date & corresponding employees name. Let me explain in detail,
    I have a start date in Cell E1 and end date in Cell G1. Need a macro to verify the date range in Col A with these start & end dates and insert blank row for missing date corresponding to employee names in Col B. This should be repeat till last used row of the sheet. Attached sample(Before&After) workbook.

    PS: Both missing date and respective names to be filled in the newly inserted rows.

    Any response/suggestion will be greatly appreciated!

    Thanks,
    Chinraj
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: VBA Macro to Insert New row/s based on two dates

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    02-27-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    77

    Re: VBA Macro to Insert New row/s based on two dates

    Yes. This is solved with help of Bernie Deitrick. Please note that both posts are little different case.

    http://www.excelforum.com/excel-prog...ml#post3707350

    Thanks!

+ 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] VBA Macro to Insert Blank row based on two dates
    By chinraj in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-23-2014, 07:40 AM
  2. [SOLVED] VBA help need to highlight the cells based on the dates and insert respective cell values.
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-24-2014, 11:14 PM
  3. Replies: 2
    Last Post: 07-31-2013, 02:00 PM
  4. How to insert lines and dates based on criteria
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-26-2011, 02:06 PM
  5. insert new row based on dates
    By inkexit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-16-2008, 12:34 PM

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