I was wondering if the CommandBarButton OnAction property would allow
you to specify a function from a module to be called. According to the
post made by Turtle in 1998, the OnAction property can only specify a
macro name. Is this still the case? I agree with Turtle that "this is
pretty funky."
-Vincent
From: Turtle - view profile
Date: Sat, Nov 21 1998 4:00 am
Email: "Turtle" <macderm...@mindspring.com>
Groups: comp.databases.ms-access,
microsoft.public.access.modulesdaovba
OnAction has to be a macro name. However, this macro can contain only
the
one command RunCode and refer to a function (not a sub, but it ignores
any
value the function returns.)
Personally, I think this is pretty funky. It's one of the few places I
know of where professional programmers use macros.
- Turtle