Adding rows to a table in a protected Word form

R

RKF

Hi Folks,

Apologies if I have the incorrect forum. I am trying to come up with a
macro that will enable a user to add rows to a table contained in a protected
Word document. That is, a document launched by a template.

I understand how to "unprotect" the form using VBA and I understand how to
do a selection.copy. What I am confused about is how to put focus on the
last row of the table, copy it, then position the cursor to insert the copied
row as the next table row ...

I want that macro to be available to the user as needed. That is, is the
user only has a single entry for the table, they would have no need to call
the macro. But, if they have several entries for the table, they would need
to be able to launch the macro and insert a new line as many times as
necessary to enter all of the necessary data.

I am not a MS developer but I can handle the technical descriptions
associated with VBA machinations.

Any suggestions will be greatly appreciated.

Thanks. Respectfully,

Fergie

PS I can provide the Word form if it helps to better convey my request/issue.
 
J

Jay Freedman

I just created a template like that for another user. It shouldn't be
too difficult, but the details depend critically on what the table and
the rest of the document look like. Send a copy of your form to my
email (the posting address is valid), and I'll take a look.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 

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