Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (430)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Create Macros in Microsoft Word
How to create a macro in Microsoft Word? I want to learn how to do things in my Word document with VBScript code.
✍: FYIcenter.com
Creating a new macro in Microsoft Word can be done with these steps:
1. Click "Developer" > "Macros". You see the macros management screen.
2. Enter "Hello" as the new macro name and click "Create" button. You see the "Microsoft Visual Basic for Applications" screen.
3. Enter the following code in the Code area:
Sub Hello()
ok = MsgBox("Hello World!", vbOKOnly)
End Sub
4. Click "Run" icon to test the code. Then close the Visual Basic screen.
You new macro "Hello" is ready to run in any document.
⇒ Run Macros in Microsoft Word
⇐ Using Macros in Microsoft Word
2016-06-25, 4581🔥, 0💬
Popular Posts:
How to add ActiveX controls, like text command button, text box, check box, etc., to Presentation sl...
How to Uninstall Skype Meetings App on Windows? I don't need it anymore. You can following this tuto...
Where to find answers to frequently asked questions on Microsoft PowerPoint? I want to know how to c...
How to login to outlook.office365.com with a Browser? I have a company email account on Office365. I...
How to create a command button to run my macro in slide show in PowerPoint? I have created a macro t...