Feb 20th, 2012, 04:01 AM
Exporting specific cells from a datagridview to a word template
I've just started learning VB, so I'm a bit shaky...
I'm trying to put together a report builder for work, basically something that users complete a bunch of textboxes and then get the 4 or 5 reports that we produce from it. I'm fine with the text sections (just creating bookmarks in my template and linking them to a specific text box.
Where I'm coming unstuck is trying to add tables. I've added a datagridview control to my form and successfully linked this to the excel sheet. Is it possible to then export specific cells from this into a word template. I'll already have created a table in Word and I just want to populate it. Can I do something similar to adding bookmarks to the word template?
Click Here to Expand Forum to Full Width
Survey posted by VBForums.