YTUnity logo

Welcome to YTUnity

One free SpiderTaz Network account works across every network site.

My First Macro in Microsoft Word (Simple VBA Tutorial, Visual Basic, Record Macro, How to)

Vaclav Krejci Guide 5 years ago

Description

Learn how to record a simple macro in Microsoft Word to speed up your workflow and make your work easier. Perfect tutorial for absolute beginners.

VBA CODE:
---------------------------------------------------------------------------------
1st version:

With Selection.Font
.Spacing = .Spacing + 1
End With
---------------------------------------------------------------------------------
2nd version:

On Error Resume Next
With Selection.Font
.Spacing = .Spacing + 1
End With
---------------------------------------------------------------------------------
3rd version:

For Each Char In Selection.Characters
Char.Font.Spacing = Char.Font.Spacing + 1
Next Char

---------------------------------------------------------------------------------
---------------------------------------------------------------------------------

Word tutorials: https://www.youtube.com/playlist?list=PLkTfLuE2Kz-5hELeiPa6iVt97qL0W-aIR
E-book http://youtu.be/Z0jB9xJ5-TU
http://www.facebook.com/BestTextEffectsInWord
http://issuu.com/upir/docs/best_text_effects_in_microsoft_word

Featured creators

Creators on the SpiderTaz Network

Become a creator →