ms word - OLE Object in PowerBuilder -
can tell me how set value of checkbox in word document using ole object?
i'm using form fields (dropdown , checkbox) in word document.
i using pb 7.
thanks!
i can't give exact pb syntax, can give word object model syntax, shouldn't have difficulty "translating".
odocument.formfields(index).checkbox.value = true 'or false
index
can either position in document (the nth form field in text) or name of form field string ("check1" example).
note it's not possible use macro recorder syntax since macro recorder won't run in document protected form , it's not possible change checkbox value if document not protected form.
Comments
Post a Comment