Many times I just need to create an envelope or two, and have to open the
entire Word program to do so. It would be great if somehow there could be an
icon that could be placed on the desktop that would take you right to the
"Create Envelope" dialog box without having to open the entire program.
You can do this with a macro and a desktop shortcut icon. The program
will open completely -- you can't avoid that -- but the dialog will
open immediately and you don't have to do anything else.
Use the instructions at
http://www.gmayor.com/installing_macro.htm to
insert this macro into your Normal.dot template:
Public Sub StartupEnvelope()
Documents.Add
With Dialogs(wdDialogToolsEnvelopesAndLabels)
.DefaultTab = wdDialogToolsEnvelopesAndLabelsTabEnvelopes
.Show
End With
End Sub
Save the template and close Word.
Now right-click a blank area of the desktop and choose New > Shortcut.
In Windows XP you'll get a wizard that leads you through creating the
shortcut; in earlier versions you'll need to right-click the icon and
choose Properties.
In the Target box, enter the path and filename of WinWord.exe, the
executable file for Word. This is probably
"C:\Program Files\Microsoft Office\OFFICEnn\WinWord.exe"
where the nn is the version number of Office. You need the quotes so
Windows will recognize the spaces as part of the folder names.
At the end of the entry in the Target box, after the closing quote,
type a space and add this:
/mStartupEnvelope
This "switch" tells Word to run the macro as soon as the program
starts when you double-click the shortcut icon on the desktop. The
macro will create a blank document (because the Envelopes dialog isn't
available until there is an open document) and displays the dialog.
After you print the envelope, you can close Word.