
Checking a check box in Word with VBS
I suggest you create a macro in Word that "checks" the CheckBox. You can
call macros from the outside.
Set WordObject = CreateObject("Word.Application")
WordObject.Run "CheckTheBox"
Hope this helps
--
Gerardo Villeda
MVP - Visual Basic
http://www.netreach.net/~gvilleda
Quote:
> The following lines of code worked well to send data from an Access
> database to the corresponding field in a Word template document.
> objWord.ActiveDocument.Bookmarks("name").Select
> objWord.Selection.Text = (CStr(name))
> My problem is: I want to check a check box in my Word template if the
> corresponding check box is checked in my Access database. Which methods,
> events or ... I could use to do that (in a way like the one showed
> above, if possible) ?
> Please help me! I searched in the MSDN documentation and I'm not able to
> find the right method or object to use or ...
> Sylvain Drapeau