How to Quickly Invoke another Application from MS Word

In this article, we will present you the way of how to invoke an application from MS Word by running a macro.

When you are creating a Word document, you may have to switch from Word window to others so as to run another application. Some of you may find it not convenient. Then, we will demonstrate you a quick way that is to use the macro in Word.

Here comes detailed explanation:

Create a Macro Command

In order to run a macro command in Word, you must first create one.

  1. First and foremost, open up a Word document.
  2. Then press “Alt+F8” to open the “Macros” window.
  3. Next, name the new macro.
  4. Click “Create” on the right side. And the “Microsoft Visual Basic for Applications” window will pop up.     Type the Macro Name ->Click "Create"
  5. Now, in the area above “End Sub” input a code containing the exact location as well as the name of the program you want to call in.
  6. Then click “Save” option.
  7. Click “Run Sub” and you will be greeted with the “Macros” window.Input Location and Application Name ->Click "Save" ->Click "Run"
  8. Click “Run” button on the right side column. Then you have the program run.Click "Run" in Macro Window and the Application Will Be Opened

Save the Macro Command to “Customize Ribbon”

Certainly, saving the macro command to “Customize Ribbon” can prevent from much trouble the next time you want to call the same program in Word.

Following are the specific steps for you to follow:

  1. In your Word window, click “File”.
  2. Then click “Options” on the left column to open the “Word Options” window.
  3. Click “Customize Ribbon”.
  4. Next, choose “Macros” in the list box of “Choose commands from”. Now the newly created macro command will show on the box below.
  5. Choose a location in the group boxes below “Customize the Ribbon” for your new macro command.
  6. Then click “New Tab” or “New Group” button.
  7. Click the new macro command on the left box.
  8. And continue to click “Add” button in the middle to move the macro to the new location.Click "Customize Ribbon" ->Choose "Macros" ->Click "New Tab" or'New Group" ->Click the Macro Command ->Click "Add"
  9. In the new location, right click the macro command.
  10. Click “Rename” on the menu.
  11. In the “Rename” window, choose a symbol for your macro command.
  12. Then type the macro name in “Display name” text box.
  13. Click “OK”.Choose a Symbol ->type a Display Name ->Click "OK"
  14. Now back to the Word window, you can see the “New Tab” option on the “Toolbar”. Click the macro button and you can start the program.The New Tab Will Be Added on the "Menu Bar"

Fix Corrupt Word Documents

Invoking a program in Word can bring high risk of getting Word documents corrupted. Once you have a damaged file, you may want to fix it immediately. Luckily, there are many recovery options for you nowadays. You can either use the built-in function in Word or some third-party repair tools for your word recovery.

Author Introduction:

Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including excel recovery and pdf repair software products. For more information visit www.datanumen.com

Comments are closed.