Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Arranging Document Windows

Specifying a Backup Location

Controlling Chart Gridlines

Merging Table Cells

Collapsing and Expanding Subdocuments

Zooming With the Keyboard

Initiating a New Search

 

Saving a Document in a WordBasic Macro

Summary: After processing a document in a WordBasic macro, you probably need to save it. Here's how. (This tip works with Microsoft Word 6, and Word 95.)

If you want to save a document under control of your WordBasic macro, you can use the FileSaveAll statement. This is the same as choosing the Save command from the File menu, so it will display the Save As dialog box if the document you are saving has not been previously saved. The syntax is as follows:

FileSaveAll .Name="filename"

where filename is the full name (including a path) that you want used for the file.

Tip #797 applies to Microsoft Word versions: 6 | 95

Take Control! Master the real power behind Word! Successfully master the secrets of powerful formatting and create documents that stand out from the rest. Best of all, you can create documents that are easy to maintain and quick to change.
 
Check out Word 2007 Styles and Templates today!