Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word automation
Message
From
18/12/2003 09:31:13
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00859686
Message ID:
00860318
Views:
17
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
Map
View

Click here to load this message in the networking platform