Creating an "Add" button

  • Thread starter Thread starter Richard
  • Start date Start date
R

Richard

In Word 2003 is there a way to create a button on a form that would add
another line to a table for additional entries?
 
The second option works great, however, the document that I want to attach
this macro to contains 9 separate tables and this macro inserts the new row
on only the first table. Is there a way for me to assign this macro to
specific tables in the document? In particular I need it to run on two
different tables in the document.
 
If by the second option, you mean the second option from the first linke
then the tables are addressed by number i.e.
Set oTable = .Tables(1)
will access Table1
Set oTable = .Tables(2)
will access Table 2 etc

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
What changes *exactly* have you made to the posted code? Which line is
flagged as in error?

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top