Results 1 to 5 of 5

Autofilter in Vba works fine for code in button_click but dosen't work as a function

Threaded View

  1. #1
    Registered User
    Join Date
    08-08-2012
    Location
    india,hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    1

    Autofilter in Vba works fine for code in button_click but dosen't work as a function

    Dear all ,

    Please find Excel Sheet "testrange.xlsm"

    I have a peculiar problem i have a code written to filter data in module1 which is asigned to button_click1 and works fine
    but the same code as "module2" called as function dosen't show the same results.

    Regards,
    Raji
    Attached Files Attached Files
    Last edited by rejilce; 01-04-2015 at 01:00 PM. Reason: forgot to attach excel file

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Advanced Filter Macro does not work, running manually works fine
    By jamiemc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-09-2013, 07:22 PM
  2. Getting this code to work on MAC (ERROR 68) - works fine on Windows
    By LT1511 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-30-2012, 11:09 PM
  3. How 2 Execute Sheet1 Button_Click Code from a module function
    By sparker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-22-2005, 07:05 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