Tips.Net > WordTips Home > Macros > WordBasic Examples
The following articles are available. Click the article's title (shown in bold) to see the associated article.
A Real AutoSave in WordBasic Creating macros that will AutoSave your document to its root location. Microsoft Word versions: 6 95
Adding Parentheses in WordBasic Want to add parens around a word or phrase in a single click? Here's a WordBasic macro that can help you. Microsoft Word versions: 6 95
Adding Quotes to Text A quick little WordBasic macro that allows you to add quotes around selected text. Microsoft Word versions: 6 95
Adjusting Small Caps Text with WordBasic Make your small caps text look its best with this handy WordBasic macro. Microsoft Word versions: 6 95
Automatically Formatting an ASCII File with WordBasic Use this simple WordBasic macro to help remove hard returns from inappropriate places in an ASCII file. Microsoft Word versions: 6 95
Automatically Inserting Brackets Some editorial styles require the use of brackets around words, for instance to indicate which keys on a keyboard should be pressed. If you want a quick way to add brackets around selected text, this tip is for you. Microsoft Word versions: 97 2000 2002 2003
Automatically Running a Macro Most Word users know that you can create macros that allow you to automate most aspects of the program. What you may not know is that Word’s macro capabilities include special macros that will run at specific times, such as when you open, close, or create a document. This tip covers all these special types of macros you can create. Microsoft Word versions: 97 2000 2002 2003
Bypassing the Startup Macro Got a macro that automatically runs whenever you start Word? This macro explains how you can modify the startup line for Word itself so you can bypass those automatic macros. Microsoft Word versions: 97 2000 2002 2003
Calculated Dates with WordBasic Wanna do date math? Here's how to do it in WordBasic. Microsoft Word versions: 6 95
Changing Character Color with WordBasic Presents a handy little WordBasic macro that changes the color of the selected text. (Came in real handy before Word provided a Font Color tool.) Microsoft Word versions: 6 95
Changing Text Case with WordBasic Learn a shortcut for changing the case of your text, as well as a WordBasic macro for changing multiple instances in a document. Microsoft Word versions: 6 95
Changing Toolbar Buttons with WordBasic How to make your custom toolbar buttons change their appearance in a WordBasic macro. Microsoft Word versions: 6 95
Consistent Spacing in WordBasic Want to make sure you have the same number of spaces at the end of every sentence? This WordBasic macro will help you be consistent. Microsoft Word versions: 6 95
Controlling the Italic Text Attribute with WordBasic How to make text italics in WordBasic. Microsoft Word versions: 6 95
Counting Characters in a Selection with WordBasic Need to figure out the number of characters in a range of selected text? Here's how to do it in WordBasic. Microsoft Word versions: 6 95
Determining How Many Styles are Available in WordBasic Quickly figure out how many styles are in your document by using this WordBasic code. Microsoft Word versions: 6 95
Determining How Many Windows are Open with WordBasic For your WordBasic macro to work properly, you may need to determine how many document windows are open. Microsoft Word versions: 6 95
Determining if a File Exists with WordBasic Macros can easily work with files. Here's WordBasic code that lets you check to see if a file exists at all. Microsoft Word versions: 6 95
Determining if a Text Selection Has Been Made in WordBasic Sometimes your macro needs to know if the user made a selection before starting the macro. Here's how to figure it out. Microsoft Word versions: 6 95
Determining if Caps Lock is On with WordBasic Your WordBasic macro may need to know if the Caps Lock key is on or not. Here's how to figure it out. Microsoft Word versions: 6 95
Determining if Num Lock is On with WordBasic Use this bit of WordBasic code to figure out if the Num Lock key is engaged. Microsoft Word versions: 6 95
Determining if Overtype Mode is Active with WordBasic Is your WordBasic macro running with overtype mode active? This code will let you know. Microsoft Word versions: 6 95
Determining the Current Page Number with WordBasic How to figure out, in a WordBasic macro, the page number where the selection pointer is located. Microsoft Word versions: 6 95
Determining the Number of Fonts Available with WordBasic Do you need to figure out how many fonts there are available to your document? Here's the WordBasic code to do it. Microsoft Word versions: 6 95
Determining the Number of Pages in Your Document with WordBasic How to determine the number of document pages within a WordBasic macro. Microsoft Word versions: 6 95
Displaying a Message in the Status Bar in WordBasic When creating a WordBasic macro, place text in the status bar to let people know what is happening. Microsoft Word versions: 6 95
Displaying the Time If you use an older version of Windows, this WordBasic macro may be useful to you. Microsoft Word versions: 6 95
Extracting Symbol Characters Use this WordBasic macro to pull special characters from a document. Microsoft Word versions: 6 95
Finding a Missing Toolbar A few methods for finding an errant toolbar in Word. Microsoft Word versions: 6 95 97 2000 2002 2003
Formatting Text Files with WordBasic A handy WordBasic macro that helps you format e-mail messages and other text files. Microsoft Word versions: 6 95
Inserting a Break with a Macro with WordBasic How to insert different types of breaks within a WordBasic macro. Microsoft Word versions: 6 95
Jumping to the Start or End of a Document with WordBasic Need to jump to either extreme of your document within a WordBasic macro? Here's how. Microsoft Word versions: 6 95
Jumping to the Top of a Page wth WordBasic How to move the selection pointer to the top of the current page in a WordBasic macro. Microsoft Word versions: 6 95
Moving Through a Table in a WordBasic Macro Do you need your WordBasic macro to step through the contents of a table? Use this technique. Microsoft Word versions: 6 95
Numbers to Words in WordBasic Want to spell out your numbers--automatically? This WordBasic macro presents one way to accomplish the task. Microsoft Word versions: 6 95
Printing a Bookmark List with WordBasic Need to know what bookmarks you have defined? Use this WordBasic macro to print a list of bookmarks. Microsoft Word versions: 6 95
Printing a Font List with WordBasic Want a sample list of all the fonts on your system? Here's a WordBasic macro that will do the trick. Microsoft Word versions: 6 95
Printing All Open Documents with WordBasic Got a bunch of open documents? Want to print them all? Here's a handy WordBasic macro that will do the trick. Microsoft Word versions: 6 95
Printing Color Separations with WordBasic While Word doesn't have an intrinsic function to print color separations, a macro can do some simple separating. Microsoft Word versions: 6 95
Printing Graphic Thumbnails with WordBasic Got a folder full of photos, and you want to get a handle on what you've got? Use this handy WordBasic macro and you can get a grip on your graphics fast! Microsoft Word versions: 6 95
Quickly Changing Document Windows with WordBasic A shortcut and a WordBasic macro that you can use to switch windows. Microsoft Word versions: 6 95
Removing Extra Paragraph Marks with WordBasic Use this handy WordBasic macro to quickly remove extra paragraph marks from a document. Microsoft Word versions: 6 95
Removing Tabs Used to Indent a Paragraph with WordBasic An easy little WordBasic macro to strip tabs from the beginning of a paragraph. Microsoft Word versions: 6 95
Replacing Quoted Text with Italics with WordBasic Got a document where lots of quoted text appears? Want to change all that quoted text to italics? This WordBasic macro makes short work of the task. Microsoft Word versions: 6 95
Saving a Document in a WordBasic Macro After processing a document in a WordBasic macro, you probably need to save it. Here's how. Microsoft Word versions: 6 95
Screen Flip Flop with WordBasic A handy WordBasic macro that switches which of two document windows is displayed on top. Microsoft Word versions: 6 95
Selecting Sentences with WordBasic A WordBasic macro that allows you to step through a document, sentence by sentence. Microsoft Word versions: 6 95
Setting Change Bars Manually in WordBasic A couple of ways you can add change bars to your document. Microsoft Word versions: 6 95
Single-Character Fractions When typing in Word, some fractions are converted into a professional-looking character, while others are not. This tip explains why that occurs and provides some ideas on how all your fractions can look their best. Microsoft Word versions: 97 2000 2002 2003
Stripping Trailing Spaces with WordBasic A quick way to remove trailing spaces from a paragraph. Microsoft Word versions: 6 95
Talking to Yourself Using WordBasic Hidden Text Using Word's hidden text attribute, you can easily add notes for just your use. This tip includes a WordBasic macro to make the task a snap. Microsoft Word versions: 6 95
Transposing Two Paragraphs with WordBasic A WordBasic macro that transposes two adjacent paragraphs. Microsoft Word versions: 6 95
Transposing Words Presents a WordBasic macro that allows you to transpose (switch) two adjacent words. Microsoft Word versions: 6 95
Turning Off Screen Updating with WordBasic Speed up your WordBasic macros by turning off updates of the screen. Microsoft Word versions: 6 95
Understanding the For ... Next Structure One of the common programming structures used in macros is the For … Next structure. It allows a block of programming code to be repeated a specific number of times. Microsoft Word versions: 97 2000 2002 2003
Understanding the If ... End If Structure The VBA programming language includes several programming structures that can modify the way in which programming statements are executed. This tip explains one of those structures and how it allows you to place conditions on when certain parts of your macro are executed. Microsoft Word versions: 97 2000 2002 2003
Understanding the Select Case Structure One very helpful programming construct is the Select Case structure. It allows you to set up a series of “triggers” that will execute different blocks of programming code. This tip explains how you can use a Select Case structure in your own macro programming. Microsoft Word versions: 97 2000 2002 2003
Updating the Spelling Exclusion List Automatically with WordBasic Word allows you to create an exclusion list for the spell checker. Here's a WordBasic macro that updates the exclusion list automatically. Microsoft Word versions: 6 95
Using the Toolbar to Set Up Multiple Printers A quick WordBasic macro that helps you print to a specific printer. Microsoft Word versions: 6 95
It doesn't matter if you are a beginner or expert, the WordTips archives are the fastest way to improved productivity. (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips