Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Setting Decimal Tabs in a Table Using the Keyboard.
by Allen Wyatt
(last updated July 29, 2015)
If you love using the keyboard, you may wonder if there is a way to set decimal tabs in a table using the keyboard. Unfortunately, there is no simple, fast keystroke to set the decimal tabs. The best way is to use the regular accelerator keys that Word uses. You would follow these steps:
Figure 1. The Tabs dialog box.
If you would rather not go through such an easy-to-remember process (grin), then you can also create a macro that will do the trick, and assign the macro to a shortcut key. The following is an example of a simple VBA macro that would do the job:
Sub SetDecimal() Dim MyTab As String MyTab = InputBox("Location (inches):", "Set Decimal Tab") If Val(MyTab) > 0 Then With Selection.ParagraphFormat.TabStops .ClearAll .Add Position:=InchesToPoints(Val(MyTab)), _ Alignment:=wdAlignTabDecimal, _ Leader:=wdTabLeaderSpaces End With End If End Sub
This macro, which should be run after the cell or column is selected, clears all the existing tabs in the selection, and then prompts the user to enter a value for the new tab stop.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1912) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Setting Decimal Tabs in a Table Using the Keyboard.
The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!
If you have a constant need to define tabs at the edge of the right margin, you'll love the macro-based technique provided in ...Discover More
If you try to set tabs by clicking on the Ruler, you may not be able to set them exactly where you want. This is normally due ...Discover More
You get a document from a colleague and you notice that each paragraph starts with a tab character. Here are a couple of ways ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.