+ Reply to Thread
Results 1 to 7 of 7

Insert row after last date of the month not necessarily 30 or 31

  1. #1
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Insert row after last date of the month not necessarily 30 or 31

    Hiii Everybody,
    Want insert rows after change of month.. excel attached...
    15/04/2014
    30/04/2014
    31/05/2014
    30/06/2014
    31/07/2014
    Attached Files Attached Files
    Don`t care, take care...

    Regards,
    Mangesh

  2. #2
    Valued Forum Contributor
    Join Date
    11-15-2008
    Location
    ph
    MS-Off Ver
    2007/2010/2016
    Posts
    479

    Re: Insert row after last date of the month not necessarily 30 or 31

    Hi -

    Maybe;
    Please Login or Register  to view this content.
    event

  3. #3
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: Insert row after last date of the month not necessarily 30 or 31

    not working... inserting row after every 31 or 30
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    11-15-2008
    Location
    ph
    MS-Off Ver
    2007/2010/2016
    Posts
    479

    Re: Insert row after last date of the month not necessarily 30 or 31

    Hi -

    try
    Please Login or Register  to view this content.
    event

  5. #5
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: Insert row after last date of the month not necessarily 30 or 31

    Yes done but showing type mismatch error in my actual sheet...
    also explain the coding
    Last edited by mangesh.mehendale; 08-07-2015 at 05:47 AM.

  6. #6
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: Insert row after last date of the month not necessarily 30 or 31

    Untitled.png


    Type mismatch at this line

  7. #7
    Valued Forum Contributor
    Join Date
    11-15-2008
    Location
    ph
    MS-Off Ver
    2007/2010/2016
    Posts
    479

    Re: Insert row after last date of the month not necessarily 30 or 31

    Quote Originally Posted by mangesh.mehendale View Post
    Yes done but showing type mismatch error in my actual sheet...
    also explain the coding

    Hi -

    The code is really simple, just looping starting from the bottom going up, checking if the top cell month is not equal to the current cell month, then insert row.
    not sure of the error. the column A should be date.

    event

+ 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. Insert value according to date and month in to another worksheet
    By beneesetas14 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2014, 03:46 AM
  2. Insert Value according to month and date value
    By beneesetas14 in forum Excel General
    Replies: 8
    Last Post: 03-01-2014, 05:53 AM
  3. Automatically insert todays date as a month?
    By AllenMead in forum Excel General
    Replies: 3
    Last Post: 09-06-2010, 10:58 AM
  4. Insert Value from Cell If Date in Particular Month
    By improveddc in forum Excel General
    Replies: 1
    Last Post: 02-18-2009, 12:21 PM
  5. Insert Row with month of date change
    By cindy7 in forum Excel General
    Replies: 2
    Last Post: 07-30-2007, 07:14 AM
  6. how to insert month date year and day of week
    By Sachi Noma in forum Excel General
    Replies: 3
    Last Post: 05-18-2006, 10:10 PM
  7. [SOLVED] how to insert month date year and day of week
    By Sachi Noma in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-18-2006, 10:10 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