For everything about setting tab stops in Word, see http://wordfaqs.ssbarnhill.com/SettingTabs.htm .
How to use tabs function?
How to use tabs fuction? I need to pass this test with good grade, please people I have 40 min left!!!!!
Microsoft 365 and Office | Word | For education | Windows
3 answers
Sort by: Most helpful
-
Stefan Blom 323.8K Reputation points MVP Volunteer Moderator2025-11-25T08:56:06.5133333+00:00 -
Q&A Assist2025-11-25T07:32:51.9833333+00:00 AI generated content. This question contains an answer created with AI from Q&A Assist. Learn moreTo use the Tab function in Microsoft VBA, you can position output in a file or in the Immediate window. Here’s how you can use it:
- Using the Tab function with Print # statement: You can open a file for output and use the Tab function to specify the column where the output should start. For example:
In this example, the first Print statement prints "Hello" and then moves the cursor to column 20 to print "World." The second Print statement moves to the next print zone if the argument is omitted.Open "TESTFILE" For Output As #1 ' Open file for output. Print #1, "Hello"; Tab(20); "World." Print #1, "Hello"; Tab; "World" Close #1 ' Close file. - Using the Tab function with Debug.Print: You can also use the Tab function with the Debug.Print method to print text starting at a specific column. For example:
This will print the text starting at column 10 in the Immediate window.Debug.Print Tab(10); "10 columns from start."
These examples illustrate how to effectively use the Tab function to control the output formatting in your applications.
- Using the Tab function with Print # statement: You can open a file for output and use the Tab function to specify the column where the output should start. For example:
-
Julie-Hu 5,110 Reputation points Microsoft External Staff Moderator
2025-11-25T08:27:17.24+00:00 Dear @Krists Zambars,
Good day! Welcome to Microsoft Q&A forum!
Based on your description, I understand that you need guidance on using the tabs function in Microsoft Word so you can complete your test.
Regarding your situation, kindly try the following suggestions to set and use tabs in Microsoft Word:
- To insert or add tab stops:
- Go to Home > Paragraph (dialog launcher) > Tabs
-
- Enter the Tab stop position (e.g., 2.5")
-
- Choose Alignment (Left/Center/Right/Decimal)
- (Optional) Choose a Leader (dots/dashes/line)
- Select Set, then OK
- For reference: Insert or add tab stops
- You could also use the Ruler
- You can Turn it on in View tab > Ruler
- Use the tab selector (left of the ruler) to pick a tab type, then click the ruler to place the tab
-
- To show dots or leaders between tabs: For step-by-step instructions, please refer to: Show dots or leaders between tabs
- For decimal tabs (numbers)
- Choose the decimal tab type, click the ruler where you want decimals to align
- Then press Tab and type numbers, after that the decimal points will align automatically
- For reference: Use decimal tabs to line up numbers with decimal points
- To clear tabs:
- Open Tabs and select a tab and choose Clear, or Clear All
-
- For reference: Clear or remove tab stops in Word
I hope this helps with your situation!
Kindly let me know when there are updates or if you need further assistance. Any updates you’re able to share would be really helpful. I appreciate your time and look forward to hearing how things are going!
Thank you for your time and patience.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
- To insert or add tab stops: