+ Reply to Thread
Results 1 to 2 of 2

Control autofilter in macro and continue macro

  1. #1
    Registered User
    Join Date
    12-01-2012
    Location
    Dover
    MS-Off Ver
    Excel 2010
    Posts
    2

    Control autofilter in macro and continue macro

    Hi
    I am new in vba. I want control
    Selection.AutoFilter
    ActiveSheet.Range("$A$1:$K$10000").AutoFilter Field:=1, Criteria1:= I Want control and choose

    and then continue my macro

    If is posible

    Thanks for help.

    Robert

  2. #2
    Forum Contributor
    Join Date
    10-18-2012
    Location
    Telford, England
    MS-Off Ver
    Excel 2010 (2003)
    Posts
    294

    Re: Control autofilter in macro and continue macro

    You can't do user user input during a VBA command (except inputbox/msgbox).
    The first should do it ActiveSheet.Range("$A$1:$K$10000").AutoFilter Field:=1, Criteria1:=inputbox("prompt") (there are opton for title and default if needed

+ 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