开发者

MS-Word bookmarks with VB script

开发者 https://www.devze.com 2022-12-21 15:12 出处:网络
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

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

精彩评论

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