Yes, I think that you have mis-understood my suggestion. There is no need
for a macro. Here is what you do
1 Set up a single table the way the way you want it
2 Select that table and then from the Tools menu, select AutoCorrect
Options and then go to the AutoCorrect tab and it the "Replace text as you
type" section in the With area, you will see a couple of table cells. In
the Replace control to the left, type something like mytable, make sure that
the "Formatted text" radio button above the table cells is select and then
click on the Add button.
After doing this, whenever you type mytable and press the space bar, a
replica of your table will be inserted in its place.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> How? Do you mean that I should record this with the macro recorder and
> then figure out what needs to change in my existing macro to match the new
[quoted text clipped - 98 lines]
>>> If you can help me solve these last two problems, I think my document
>>> will be absolutely perfect instead of just 98%.
Rhino - 12 Feb 2006 17:57 GMT
Okay, I see what you're saying and agree it would be a useful technique for
some situations. However, I want to do this work via a macro in this case,
which is why I posted to a VBA newsgroup in the first place.
I am building this document from scratch each time and I don't even want to
make Word GUI visible while the document is generated. There is a way to do
what I want by writing statements in a macro, right? Or is your approach the
only way that I can size my columns correctly?
--
Rhino
> Yes, I think that you have mis-understood my suggestion. There is no need
> for a macro. Here is what you do
[quoted text clipped - 112 lines]
>>>> If you can help me solve these last two problems, I think my document
>>>> will be absolutely perfect instead of just 98%.
Doug Robbins - Word MVP - 12 Feb 2006 19:30 GMT
Create an autotext entry of the table and then use vba to insert the
autotext.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Okay, I see what you're saying and agree it would be a useful technique
> for some situations. However, I want to do this work via a macro in this
[quoted text clipped - 124 lines]
>>>>> If you can help me solve these last two problems, I think my document
>>>>> will be absolutely perfect instead of just 98%.
Rhino - 12 Feb 2006 21:26 GMT
Okay, how do I use VBA to insert autotext? I think you've already told me
how to create the autotext entry.
Is there no way to do both things programatically, i.e. with VBA statements?
That's what I really want to do.... You see, the document could get deleted
at some point and have to be re-created entirely from the macro. If the
autotext disappears when the document is deleted, I'd have to figure out how
to re-create it again. If I just put *ALL* of the logic in the VBA code, I'm
covered.
--
Rhino
> Create an autotext entry of the table and then use vba to insert the
> autotext.
[quoted text clipped - 127 lines]
>>>>>> If you can help me solve these last two problems, I think my document
>>>>>> will be absolutely perfect instead of just 98%.
Doug Robbins - Word MVP - 13 Feb 2006 05:27 GMT
What I told you before was how to create an autocorrect for the table. The
procedure to create an autotext is similar. but you go to the Autotext tab
instead of the Autocorrect tab in the Tools Autocorrect Options dialog.
Look up InsertAutotext in the vba help file for how to use it.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Okay, how do I use VBA to insert autotext? I think you've already told me
> how to create the autotext entry.
[quoted text clipped - 141 lines]
>>>>>>> If you can help me solve these last two problems, I think my
>>>>>>> document will be absolutely perfect instead of just 98%.