A
Alex St-Pierre
Hi!
I split a table into a lot of pages using macro and I would like to
copy-paste the first row of table#1 at the top of table #2, etc.
Something like the following but using the object method.
Thank you!
Alex
docWord.Tables(2).Rows.Add BeforeRow:=oRange.Tables(2).Rows(1)
docWord.Tables(1).Rows(1).Range.Select
Selection.Copy
docWord.Tables(2).Rows(1).Range.Select
Selection.Paste 'Gives error 438..
I split a table into a lot of pages using macro and I would like to
copy-paste the first row of table#1 at the top of table #2, etc.
Something like the following but using the object method.
Thank you!
Alex
docWord.Tables(2).Rows.Add BeforeRow:=oRange.Tables(2).Rows(1)
docWord.Tables(1).Rows(1).Range.Select
Selection.Copy
docWord.Tables(2).Rows(1).Range.Select
Selection.Paste 'Gives error 438..