+ Reply to Thread
Results 1 to 3 of 3

Macro only copies 1st row but...

  1. #1
    Registered User
    Join Date
    08-16-2012
    Location
    connecticut
    MS-Off Ver
    Excel 2007
    Posts
    14

    Macro only copies 1st row but...

    Hi, I have a macro that filters data by month from a worksheet labeled “2012 Statements.” It then finds and selects only the cells with data in them and copies that data to the appropriate months’ worksheet.
    The problem I’m running into is:
    For ANY month EXCEPT January the macro does exactly what it should do, BUT for January it ONLY copies the 1st row.
    I’ve attached a small example of the Workbook along with the macro (which I’ve shortened so it only goes to February).
    I’m hoping someone can help so the macro works correctly and also explain why it only copied the 1st row only for January.

    Thanks in advance for any help

    dave
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro only copies 1st row but...

    this sheet is not attached


    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-16-2012
    Location
    connecticut
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Macro only copies 1st row but...

    My apologies, the original example was too large to upload, when I created the "Book2.xlsm" file I forgot to label the sheets correctly. I've now uploaded the workbook with the correct sheet names.
    Attached Files Attached Files

+ 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