![]() |
|
#2
|
||||
|
||||
|
The code I posted is for deleting all rows from the last row upwards in the second table in the document where the first formfield on each row is empty. It exits at the first non-empty row. It is not for deleting the 'current' row. Whilst the code could be modified to delete just the current row, what you need to figure out is how you're going to trigger the macro only when you know there are no data to add to that row. When you've figured that out, please post your query in a new thread rather than hijacking a thread dealing with a different issue.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Delete Rows in Protected Table with Form Fields
|
Elan05 | Word VBA | 23 | 09-11-2014 12:47 PM |
| Mail Merge a Protected Form Maintaining Form Fills | t/korean85 | Word | 1 | 04-07-2013 05:34 PM |
Running a Macro in a protected form
|
yessmarie | Word VBA | 1 | 05-25-2012 12:04 AM |
Form protected in design mode-can't do anything
|
DrDtMM | Word VBA | 12 | 01-23-2011 12:37 PM |
| Font size changes in a protected form..? | jackbkmp | Word VBA | 0 | 03-03-2010 10:14 AM |