MS-Word bookmarks with VB script
I have a classic ASP application which insert开发者_开发知识库s some values into a word file using bookmarks. I can insert text on the bookmarks. The only problem is checkboxes, I have some checkboxes in document. I have created bookmarks on checkboxes. Can someone tell me how to tick the checkboxes through VB script?
Thanks.
I found some way out for the problem,
Dim objCheckbox Set objCheckbox = objDoc.FormFields("Name").CheckBox objCheckbox.Value = True
Please suggest if you can give me some other solution.
Cheers.
精彩评论