AndyAinscow
asked on
Modify table cell in winword via automation
I'm filling in a winword document with a table via automation (VBA, access database). The automation code moves to a bookmark and inserts text at that point. Everything works perfectly.
Now there is a requirement to change the border of a cell that has a specific bookmark in the cell in a word table. Two parts to the problem.
Now there is a requirement to change the border of a cell that has a specific bookmark in the cell in a word table. Two parts to the problem.
- How do I identify and select the table cell based on it containing a bookmark?
- Once I have the cell selected how would I modify one of the cell borders (change the line style)?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just needed to qualify doc as Word.Document and then worked perfectly. Thanks
ASKER