Assign several macros with OnAction
If it really matters to you to confuse the coding in order to save a few
lines:
Sub updateData()
updateData1: updateData2: updateScreen
End sub
NickHK
wrote in message
ups.com...
NickHK wrote:
You can one macro form another:
Sub updateData()
Call updateData1
Call updateData2
Call updateScreen
End sub
[...]
Yes, I know I can do it like this, but since I have a lot of
permutations of how to run the macros (macro1 - macro3 - macro2,
macro3 - macro1, et.c) I would be happy if I did not have to clutter
the workbook with a lot of macros.
Like an if-then, you can write it on one row and separate expressions
with ":".
Best Regards
Eric
|