Closed Thread
Results 1 to 2 of 2

How to step among entries of autofilter via VBA code?

  1. #1
    Registered User
    Join Date
    01-25-2014
    Location
    Hungary
    MS-Off Ver
    Excel 2010
    Posts
    16

    Unhappy How to step among entries of autofilter via VBA code?

    Hi There,

    I've faced with a problem while I try to create macro sub:

    Once I autofilter the A column and select the...

    1.
    - first entry - I've got a certain criteria the exact item number - but not as a unique item - and since data may changes weekly
    I must only nominate selection as "1st item"

    I'd do some function: sum weekly results, and keep only one row with the filtered item (paste special/delete rows)

    2.
    - than step on next entry and do the same as before..

    - take these steps till the end of autofilter list, than remove autofilter.



    .. with this action, I'd get the sum value of my weekly forcast on each incividual items.

    Would you pls. help me to solve this problem, as I've no clue how should I do it..

    Thanks a lot in advance!
    Adam

    ps:

    I've started as:

    ActiveSheet.Range("$A$2:$BN$400").AutoFilter Field:=1, Criteria1:= _
    "17963-E050LF"

    but critera shoul be like .. 1st entry ... 2nd entry ... last entry .. session end .. ?!
    Attached Images Attached Images

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How to step among entries of autofilter via VBA code?

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to step among entries of autofilter via VBA code?
    By ahenin in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-27-2014, 08:17 AM
  2. [SOLVED] Using Step-into (F8) for code in ThisWorkbook
    By JimDandy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2013, 05:11 PM
  3. Code runs when I step through it, but not when I run the whole program
    By gonger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-11-2010, 12:34 PM
  4. Replies: 2
    Last Post: 06-22-2006, 01:30 AM

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