+ Reply to Thread
Results 1 to 3 of 3

Using a filter while recording a macro problem

  1. #1
    Registered User
    Join Date
    01-06-2012
    Location
    Rochester NY
    MS-Off Ver
    Excel 2007
    Posts
    20

    Using a filter while recording a macro problem

    I am currently trying to record a macro in the attached sample spread sheet. The idea:

    Use a VLOOKUP in the location spread sheet to find only items that are listed on sheets "A, B, C....".

    Use the filter to get rid of all N/A that come up so a quick copy and paste can be done from the location spread sheet onto the letter spread sheet.

    Continue until letter J is complete.

    The problem i am running into is that after I record the macro the spread sheet will only go thru the "A" spread sheet then the macro will freeze and I have to force close excel. The macro in the attached spread sheet can be run by ctrl + a. I'm a litte in over my head on this and have been trying to get this to work for 3 days with no such luck.

    I hope someone here can help, any other suggestions will also be willingly apprecaited.

    Thank you,
    Andrea
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Using a filter while recording a macro problem

    Hi

    Slightly different approach, but see if it gives you some ideas.

    849386.xlsm

    rylo

  3. #3
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Using a filter while recording a macro problem

    Hi,

    Why are you hiding the N/A errors instead of getting rid of them?

    I think the problem might be that you are using full column ranges A:B instead of cell ones A2:B300 or dynamic Ranges.

+ 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