Last post Jul 10, 2010 12:28 PM by itsmemuthu
Jul 10, 2010 10:50 AM|andyww14|LINK
I'm trying to build a word document via code (vb.net) . At the moment its going okay, however I am getting stuck on some areas.
I've added a table. I now wish to remove the spacing from the table (or cells). I've tried to create the macro which produces this code to offer some clues:
Selection.Style = ActiveDocument.Styles("No Spacing")
However I can't get this to work in the asp.net page?
Here is the code that I have used to create the table:
WTableTop = WrdDoc.Tables.Add(Wrd.Selection.Range, 10, 4)
Any help appreciated.
Jul 10, 2010 12:28 PM|itsmemuthu|LINK