Solved

how to write macro in MS word?

Posted on 2007-04-03
6
1,261 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

760 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

18 Experts available now in Live!

Get 1:1 Help Now