+ Reply to Thread
Results 1 to 3 of 3

Macro for user defined report, filtering issue within Macro

  1. #1
    Registered User
    Join Date
    03-16-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    34

    Macro for user defined report, filtering issue within Macro

    Hello

    I'm having trouble with a macro.

    Basically I have a large database with a lot of invoices, I've designed an enquiry where the user defines one of the filters required so the macro can copy & paste from the protected database to a user report.

    I'm really struggling with how to get the users entry (collected via an InputBox) and shoehorn this into the filter.

    Any help would be gratefully received

    Thanks
    Michael

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Macro for user defined report, filtering issue within Macro

    To apply a filter with a user-input value, the code can be as simple as

    Please Login or Register  to view this content.
    But you may want to find out what unique values are actually available, given the other filtering that has been used.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    03-16-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    34

    Re: Macro for user defined report, filtering issue within Macro

    Thanks - works like magic

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro problem - loops theough user defined functions not called in macro
    By beccyclaire in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-04-2016, 02:09 AM
  2. [SOLVED] User-defined type not defined on Copy to Clipboard Macro
    By vamosj in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-23-2015, 11:31 AM
  3. user defined macro to replace certain characters in a string based on user input
    By whatappears in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-17-2012, 06:25 PM
  4. [SOLVED] Macro filtering issue
    By jw01 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-03-2012, 12:28 PM
  5. Filtering > macro issue
    By jw01 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-21-2011, 07:10 AM
  6. Macro with user defined inputs
    By Nigel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2007, 07:24 PM
  7. How to: User Form to assign a user defined range to a macro variab
    By TrevTrav in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2005, 04:06 PM

Tags for this Thread

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