Results 1 to 20 of 39

Thread: AutoFilter Percent Values +-5%

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #29
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,895
    Location
    Paul, post 31, "Set wb2 = Workbooks("Book2.xlsx")", both workbooks are .xlsm and can't be changed. I tried with .xlsx but no difference. I tried your code but I get same result as before = filtered but doesn't show until I click the OK button. I also tried with "ThisWorkbook"
    xlsx or xlsm doesn't make any difference. Still works just fine without having to hit OK.

    What are you regional settings? Possible there's a conflict so 39,5 would be a string and wouldn't work with numbers

    I vaguely recall that Filter Criteria only works with US Dates and US Number formats

    So if I open a Swedish formatted workbook with a number format 123,45 Excel converts it to 123.45 for my US format
    Last edited by Paul_Hossler; 09-06-2020 at 11:04 AM.
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •