B
Bigfoot17
Graham Mayor provides a macro that is extremely helpful to me in a project I
am working on entitled: "An alternative method of adding a row to a protected
table
" (http://www.gmayor.com/word_vba_examples.htm). What I am having trouble
with is identifying the number of the table. I have a lengthy document and
over time some tables have been added or deleted, and I am suspecting that I
my table numbers are 'out-there.' I have a commandbutton running the above
macro and if I tested the macro to add rows to tables 1-4 and it works fine.
However, I cannot seem to get it to work on tables 5-8 (which may be table 52
for all I know).
Set oTable = .Tables(1) 'Select the appropriate table
Is there something I am missing. How can I find out the number of a table
in my document?
am working on entitled: "An alternative method of adding a row to a protected
table
" (http://www.gmayor.com/word_vba_examples.htm). What I am having trouble
with is identifying the number of the table. I have a lengthy document and
over time some tables have been added or deleted, and I am suspecting that I
my table numbers are 'out-there.' I have a commandbutton running the above
macro and if I tested the macro to add rows to tables 1-4 and it works fine.
However, I cannot seem to get it to work on tables 5-8 (which may be table 52
for all I know).
Set oTable = .Tables(1) 'Select the appropriate table
Is there something I am missing. How can I find out the number of a table
in my document?