开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜