Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I am trying to write some vba code in Excel 2007 to paste a range into a Word (either 2003 or 2007) table. My code so far, selects the correct table and selects the top (blank) row in the table. I cannot get the next part correct. I need to: 1. Insert the correct number of rows in the Word table to accommodate the Excel data. I have used noRows = Selection.Rows.Count 2. Select those rows that have been inserted and paste the data to these rows. When doing this manually it seems to produce the best results, rather than paste as a nested table etc. Any suggestions of the correct code would be greeatly appreciated. Thanks Heather |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I copy a word table into excel | New Users to Excel | |||
Copy filtered table to Word | Excel Worksheet Functions | |||
Copy from word table | Excel Programming | |||
Q: copy/paste table from Word | Excel Discussion (Misc queries) | |||
Copy Word table to Excel | Excel Programming |