![]() |
|
![]() |
|
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] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
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 |
![]() |
bracketandquotes | Word VBA | 17 | 02-16-2015 03:51 PM |
![]() |
NovaScotia | Word | 4 | 01-21-2015 11:44 PM |
![]() |
james1979uk | Word Tables | 5 | 12-15-2013 05:48 PM |