Results 1 to 3 of 3

Can Functions call Macros?

Threaded View

MBBCFP Can Functions call Macros? 09-11-2009, 01:13 PM
shg Re: Functions and Macros -... 09-11-2009, 01:15 PM
MBBCFP Re: Functions and Macros -... 09-11-2009, 01:18 PM
  1. #1
    Registered User
    Join Date
    09-11-2009
    Location
    Portsmouth, VA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Can Functions call Macros?

    I'm sure this must have been asked before, but I cannot find such a thread.

    I have a workbook with several worksheets. I want to consolidate data from each of 22 worksheets into one display worksheet. Not all of the 22 worksheets will always have data, so I want to automatically hide the columns in the display worksheet representing the worksheets with no current data.

    I know Excel will not run a macro from a Function; that would be too easy. The result I want, if it would work, would be to use the IF function to say:

    IF(cellX>0,show_column,hide_column).

    There must be some way to accomplish this relativly simple task.
    Last edited by MBBCFP; 09-11-2009 at 01:19 PM.

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