This article describes how to do both. It also includes a table that lists all of the switches and parameters that are available in the desktop Office apps. About commands, switches, and parameters. Startup command names and locations. Use a switch once by adding it to the Run command. Make a switch available for reuse by creating a shortcut. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.