+ Reply to Thread
Results 1 to 5 of 5

Conditional copy rows to a new workbook for particular month

  1. #1
    Registered User
    Join Date
    04-13-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    74

    Conditional copy rows to a new workbook for particular month

    I have a worksheet with thousand of row where colum a is
    A date from Jan to Dec. can u help me to write a vb to copy
    the row of specified month e.g Jan to a new workbook

    Thanks

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

    Re: Conditional copy rows to a new workbook for particular month

    Try this.


    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-13-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Conditional copy rows to a new workbook for particular month

    Thanks Mrice.

    Will a small scale and looks fine. I will try more and seek your help if needed.

  4. #4
    Registered User
    Join Date
    04-13-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Conditional copy rows to a new workbook for particular month

    The vba works fine to me.. However, I would like to know how to amend the code so that I can move the rows from workbook 1 to the new workbook and delete the respective rows from workbook 1.

    thanks

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

    Re: Conditional copy rows to a new workbook for particular month

    Try

    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)

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