Tutorial How To Make Macro
Tutorial How To Make Macro
Tutorial How To Make Macro
html
Step 1: next
Select Tools, Macros, Manage
When you have completed the steps in the repetitive task, click the red
macro Stop button.
You will see how your macro is constructed. The lines shown here are the
only lines you always need in a macro.
You will also see other lines which the macro recorded and which will tell the
computer what you want it to do when you run your macro.
You can make running your macros easier by assigning them to keys. You can
assign macros to keys two different ways.
One way is to assign macros to keys using the Tools, Options method. If you
use this method, the assigned keys will remain assigned unless you change
them. To see steps for assigning your macros to keys this way click here.
OR ... you can create a logon macro and add the following line of code for
each macro you want to assign to a key.
Sub Main
dim CS as object
set CS = CreateObject("Connex.Client")
CS.Logon "", "", ""
CS.AssignMacroToKey "F3", "YourMacroBook.mbk!YourMacroName",
True
End Sub
If you use this method, you must run your logon macro to assign the macros
to the keys. The word "True" in the line above causes your macro key
assignment to override the default assignment for the key.
Of course, you can do more. For instance, you can create variables the
simple way ...