![]() |
|
#1
|
|||
|
|||
![]() I am working on a code that appends some data copied from excel and appended to a current table in a word document. The problem I am having is that my PasteAppendTable command is not working correctly. I have listed my code below: Code:
Sub ChangeTable() Dim rngParagraphs As Range Set rngParagraphs = ActiveDocument.Range( _ Start:=ActiveDocument.Tables(3).Range.Start, _ End:=ActiveDocument.Tables(3).Range.End) rngParagraphs.Style = "Table Columns 2" rngParagraphs.Rows.Last.Select Selection.InsertRowsBelow (1) Selection.PasteAppendTable rngParagraphs.Style = "Table Grid" End Sub |
#2
|
||||
|
||||
![]() Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
![]()
Cross-posted at: http://www.excelforum.com/word-progr...-question.html
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
jmsa7 | Excel | 3 | 12-13-2011 01:44 AM |
ppt question | fat | PowerPoint | 0 | 10-06-2011 01:33 PM |
![]() |
Girlie4 | Excel | 3 | 08-09-2009 08:02 PM |
Need help with this question... | lllDNYlll | Outlook | 0 | 05-04-2006 07:17 AM |
Categories question & replying with attachment question | glitzymama | Outlook | 0 | 03-15-2006 09:32 AM |