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:
Member
1 Points
26 Posts
Help with setting up some Word tables
Jul 10, 2010 10:50 AM|andyww14|LINK
Hi,
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:
Any help appreciated.
Contributor
2801 Points
708 Posts
Re: Help with setting up some Word tables
Jul 10, 2010 12:28 PM|itsmemuthu|LINK
http://aspalliance.com/794
http://www.c-sharpcorner.com/uploadfile/mgold/wordfromdotnet11082005235506pm/wordfromdotnet.aspx
refer this
Remember To Click On the Post That Helps U