+ Reply to Thread
Results 1 to 2 of 2

Macro within a formula

  1. #1
    Registered User
    Join Date
    05-04-2004
    Posts
    6

    Macro within a formula

    Is it possible to run a macro from within a formula?

    eg =If(A1="yes", run macro, " ")

    I hope it is! please help me here

    Thanks

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    No, you can't call a macro from a formula. It's a good thing, too, as you could be in an endless loop. Every recalculation would read "Yes" in your cell and run your macro again.

    What are you trying to accomplish? There may be other ways to do what you need.

    More info, please.
    Bruce
    The older I get, the better I used to be.
    USA

+ 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