how to write macro in MS word?

how do i write a macro to select all the tables in my MS word document?
jiniaspAsked:
Who is Participating?
 
Alan Huseyin KayahanConnect With a Mentor Commented:
0
 
jiniaspAuthor Commented:
i want the exact code or steps to write macro for this particular task.
0
 
j4jackConnect With a Mentor Commented:
Hope this is what you want...

Open word document that has a table in it
Select tools, macro, record new macro....name it something like Select_Table (No spaces!)
then using the mouse, move to the menu at the top and press Table, then slecet table.

Finally press the blue button to stop recording.

If required you can edit the macro you have created by going to tools, macro, macros, then select the one you just created and press edit.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.