accdev
2010-04-02 21:42:01 UTC
I'm an amateur with Word vb. In Access 2003 I'm generating the content of a
Word doc that has been set up from a template. There is one table with
current billing charges and another with temporary adjustments. If there are
no adjustments I delete the adjustments table, but I also want to get rid of
the 2 lines (header and detail) that the table took up.
Here is some of the delete code: wrdobj.ActiveDocument.Tables(2).Delete.
How do I get rid of the 2 lines?
Word doc that has been set up from a template. There is one table with
current billing charges and another with temporary adjustments. If there are
no adjustments I delete the adjustments table, but I also want to get rid of
the 2 lines (header and detail) that the table took up.
Here is some of the delete code: wrdobj.ActiveDocument.Tables(2).Delete.
How do I get rid of the 2 lines?