Summary
In summary, if you want to know what commands or functions to use in a macro to do a specific task:
• Decide how you would do the task using the user interface.
• Find out what command "lies behind" the user interface.
• If necessary, read the description of the command in the online help.
• Use the command, plus the correct options, in your macro.