vba to copy several different tables into a document

B

Bob Reynolds

I have a mail merge document and have a need to insert some variables into
the final product. I have a small table designed and can run a copy and
paste on them. They total about 9 all together.

My problem is I need to have a macro that will permit me to "select" one or
more of the tables to insert in a specific place within the WORD document.

Thanks in advance for the help
Bob
 
P

Paul Lautman

I don't know what criteria you wish to use to select a table, but you can
refer to distinct tables by either:

for each t in Activedocument.Tables
do stuff with t
next

or

ActiveDocument.Tables(2).select

does this help?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top