By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,377 Members | 3,038 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,377 IT Pros & Developers. It's quick & easy.

To programmatically add, modify, or read a table cell in a Word document:

P: 91
hi people,
i have uploaded a file that has table in word

This Doc is generated through my user interface in access

I want to merge the cell after, completion of the generation process

Is their any way to do so in access please help
Attached Files
File Type: doc To programmatically add.doc (34.0 KB, 338 views)
Sep 11 '12 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 100+
P: 2,321
Why dont you show us your code currently used to create the table? That might make it easier to reply in sense.
Sep 11 '12 #2

Expert Mod 10K+
P: 12,366
This selects and merges cells on a table.
Expand|Select|Wrap|Line Numbers
  1. WordApp.Selection.SetRange _
  2.    WordApp.ActiveDocument.Tables(1).Cell(1, 1).Range.Start, _
  3.    WordApp.ActiveDocument.Tables(1).Cell(1, 2).Range.End
  4. WordApp.Selection.Cells.Merge
Sep 11 '12 #3

P: 91
Thanks rabbit i see if this works
Sep 13 '12 #4

Post your reply

Sign in to post your reply or Sign up for a free account.