PDA

View Full Version : Solved: Writing data to a table in word from excel vba



gscarter
07-31-2008, 02:13 AM
Hi Guys,

I wondered whether, when writing to word from vba within an excel spreadsheet, it is possible to write to the data into a table.

The data i've got is written to the excel spread sheet in range A1: D5.

Also how would i go about referencing other things within the word document, headers/footers for example. Currently all i'm using is paragraphs.

Thanks
Gary

Dave
07-31-2008, 05:38 AM
Here's some Word table and XL code that may help. Good luck. Dave
http://www.vbaexpress.com/forum/showthread.php?t=17784

gscarter
07-31-2008, 07:15 AM
Cheers Dave.