B
Bert Whittier
I have a series of buttons on a custom toolbar that change the view in the
Contacts folder.
Right now I have separate macros for each button, but the code is the same.
Only one line changes--the line which calls for the specific predefined
view:
myOlExp.CurrentView = "ViewName"
Is there a way either to
1.) pass a value to a single macro which would then insert the value
(which would be the view name) to the subroutine...or
2.) within the macro find the name of the button I've clicked?
Thanks.
Bert
Contacts folder.
Right now I have separate macros for each button, but the code is the same.
Only one line changes--the line which calls for the specific predefined
view:
myOlExp.CurrentView = "ViewName"
Is there a way either to
1.) pass a value to a single macro which would then insert the value
(which would be the view name) to the subroutine...or
2.) within the macro find the name of the button I've clicked?
Thanks.
Bert