+ Reply to Thread
Results 1 to 2 of 2

execute a macro from within an if(,,) function?

  1. #1
    David Henderson
    Guest

    execute a macro from within an if(,,) function?

    Hi all
    Please could somebody tell me if it is possible to call a macro from an if()
    function

    eg if (condition true, macro1,macro2)
    I am thinking not, but ....?
    Any help would be much appreciated
    Thanks in advance
    David



  2. #2
    Bob Phillips
    Guest

    Re: execute a macro from within an if(,,) function?

    You can call a function if that function just returns a result, but not
    anything that looks to change some attribute of the worksheet, such as font,
    colour. These type of functions are called User Defined Functions (UDF).

    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "David Henderson" <[email protected]> wrote in message
    news:[email protected]...
    > Hi all
    > Please could somebody tell me if it is possible to call a macro from an

    if()
    > function
    >
    > eg if (condition true, macro1,macro2)
    > I am thinking not, but ....?
    > Any help would be much appreciated
    > Thanks in advance
    > David
    >
    >




+ 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