Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hello.
is it possible to input a function into excel where if a cell does/doesnt meet a certain critera then excel automatically executes a macro? e.g. if A20 equals 22-12-05 then excel will run macro Date1. thank you for any assistance and merry christmas! -- - Rich |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
A function called from a worksheet cell can only return a value (to that
cell) neither it, nor any macros called by it can alter the Excel environment in any way (change format, change values in other cells, etc). Assuming that you want to execute a "macro" for one of these forbidden purposes, you would have to the Worksheet_Change event. Jerry Rich wrote: hello. is it possible to input a function into excel where if a cell does/doesnt meet a certain critera then excel automatically executes a macro? e.g. if A20 equals 22-12-05 then excel will run macro Date1. thank you for any assistance and merry christmas! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Rich, can you expound a little on exactly what you are tying to do? It is
probably possible to this with just a worksheet function and not a macro. "Rich" wrote: hello. is it possible to input a function into excel where if a cell does/doesnt meet a certain critera then excel automatically executes a macro? e.g. if A20 equals 22-12-05 then excel will run macro Date1. thank you for any assistance and merry christmas! -- - Rich |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
Using worksheet functions in macros in Excel2000 | Excel Worksheet Functions | |||
Finding MACROs and FUNCTIONs | Excel Worksheet Functions | |||
Excel and Access talking | Excel Discussion (Misc queries) | |||
Excel code conversion | Excel Discussion (Misc queries) |