Microsoft Office Tutorials and References
In Depth Information
Topic B: Modifying and deleting macros
Do it!
B-1: Modifying a macro
The files for this activity are in Student Data folder Unit 3\Topic B .
Here’s how
Here’s why
1 Open Macros complete
Click Enable Content
To enable macros in this document.
2 Save the document as
My macros complete
3 Open the Macros dialog box
On the View tab, click the top part of the Macros
button.
Click Edit
To open Microsoft Visual Basic for
Applications.
4 Edit the code as shown
(Located in the line of code that begins with
ActiveDocument.Tables.Add Range .)
To increase the number of rows in the table
from two to 10.
Close Microsoft Visual Basic for
Applications
Choose File, Close and Return to Microsoft
Word.
5 Place the insertion point at the
end of the document
6 Run the Table macro
(Click the button on the Quick Access toolbar.)
A table with three columns and 10 rows is added
to the document. You might need to scroll to see
the entire table.
7 Update the document
 
Search JabSto ::




Custom Search