+ Reply to Thread
Results 1 to 2 of 2

Copy and Delete Filtered Range

  1. #1
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    Copy and Delete Filtered Range

    Hi

    See file in attach.

    I have 2 sheets that have 1 table each.

    When I run th macro 'cpyRecords' some records in table1 are filtered based on 'sub RecordsFilter1' and then copied to table2 in sheet2 and then the same rows are delete from table1. Everything works ok

    If in' Sub cpyRecords' I put 'Call RecordsFilter1(Date - 1)' as a comment and before running the macro, I filter the records by hand, then all the records are copied to table2 and then deleted from table1.

    The result sould be the same. What do need to change to make it work?

    Regards,
    Elio Fernandes
    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: Copy and Delete Filtered Range

    I checked your macro and it works fine. Are you trying to say that your macro is not doing it correctly v/s your manual actions?

+ 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