General information
Category:
COM/DCOM and OLE Automation
Yuri finally figured out how to change a checkbox!!
this code works:
WITH oWord.ActiveDocument
for ia=1 to .FormFields.Count
WITH .FormFields(ia)
if .Type=71 && wordfieldformcheckbox
? .Checkbox.Size
.Checkbox.Value = .T. &&turn checkbox on
endif
ENDWITH
endfor
ENDWITH
Thanks to Yuri for figuring this out!
Steve
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only