![]() |
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
I am creating a MS Word form and want to give the option to "Add Education". This would be a macro button that would:
Attached is what I have found, but this just creates the form fields in the new row. Sub AddTableRow() Dim rw As Row Dim cl As Cell Dim ffld As FormField ActiveDocument.Unprotect Password:="" Set rw = ActiveDocument.Tables(4).Rows.Add For lngIndex = 1 To oCol.Cells.Count oCol.Cells(lngIndex).Range.Copy .Columns(lngCol).Cells(lngIndex).Range.Paste Next lngIndex ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True End Sub |
|
#2
|
||||
|
||||
|
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
How do I add selection of multi line content control list to specific table cell
|
Dudlee | Word VBA | 1 | 09-20-2016 04:58 PM |
| a table pasted in word from excel is not similar to the original table in excel | Mukapa | Word Tables | 1 | 01-18-2016 07:31 AM |
macro to add brackets to each line and add single quotes to each word in the line
|
bracketandquotes | Word VBA | 17 | 02-16-2015 03:51 PM |
Merging Word documents and keeping the formatting exactly as it appears in the original document
|
NovaScotia | Word | 4 | 01-21-2015 11:44 PM |
Merge only the text in a table and keep the 2 original colums of a table
|
james1979uk | Word Tables | 5 | 12-15-2013 05:48 PM |