Solved

how to write macro in MS word?

Posted on 2007-04-03
6
1,264 Views
Last Modified: 2010-10-05
how do i write a macro to select all the tables in my MS word document?
0
Comment
Question by:jiniasp
6 Comments
 
LVL 29

Accepted Solution

by:
Alan Huseyin Kayahan earned 25 total points
ID: 18843022
0
 

Author Comment

by:jiniasp
ID: 18848255
i want the exact code or steps to write macro for this particular task.
0
 
LVL 1

Assisted Solution

by:j4jack
j4jack earned 25 total points
ID: 19031715
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now