Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (17)
Life (30)
Programming (90)
Technology (306)
Testing (4)
Tools (479)
Twitter (5)
Wearable (26)
Web Design (9)
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, 3067👍, 0💬
Popular Posts:
How to create a new PowerPoint presentation from a PowerPoint template? I have a PowerPoint template...
How to view the document.xml file with a Web browser? Since the document.xml file contains text cont...
How to install my DSL modem? I need to connect it with my phone and my wireless router. The diagram ...
How to unzip a Word Document .docx file? According to Microsoft documentation, a .docx file is reall...
How to turn on or off comments? I have a PowerPoint presentation which has comments entered by diffe...