View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Luke Vogel[_2_] Luke Vogel[_2_] is offline
external usenet poster
 
Posts: 3
Default Macros andfunctions

Hi all ...

Probably a dumb question ...

Is it possible to directly execute a macro or a VBA program from a
built-in function?

I spose in the most simplest form a cell formula might be something
like:

=if(A1="TESTING VALUE", macro_name, VBA_procedure_name)

--
Regards Luke.
-----
There are 10 types of people in this world
Those that understand binary and those that don't
-----