 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Lou Feliz Guest
|
Posted: Wed Sep 22, 2004 10:04 pm Post subject: Word OLE - check a checkbox |
|
|
Help!
I have a Delphi 5 application that use OLE to open word, build a multipage
document and fill in data, etc... it works great and for the past 2
years.... now I have been given a form that has lots of check boxes and I
need to find a way to check the boxes.
I know the check box has a bookmark associated with it. ... I can get a
bookmark and know that it returns a variant type pointing to it, but
Greatly appreciate any hints or suggestions.
- Lou
|
|
| Back to top |
|
 |
Lou Feliz Guest
|
Posted: Wed Sep 22, 2004 10:39 pm Post subject: Re: Word OLE - check a checkbox |
|
|
Getting closer....
Did more Googling and found a reference to ...
vWordServer.ActiveDocument.FormFields.Item(vFieldName).CheckBox.Value
:=true;
but it does not work for me as I am using the Type library and not the
server component. If I am succesful, I will post my solution.
- Lou
"Lou Feliz" <junkmail (AT) krmrisk (DOT) net> wrote
| Quote: | Help!
I have a Delphi 5 application that use OLE to open word, build a
multipage
document and fill in data, etc... it works great and for the past 2
years.... now I have been given a form that has lots of check boxes and I
need to find a way to check the boxes.
I know the check box has a bookmark associated with it. ... I can get a
bookmark and know that it returns a variant type pointing to it, but
Greatly appreciate any hints or suggestions.
- Lou
|
|
|
| Back to top |
|
 |
Lou Feliz Guest
|
Posted: Wed Sep 22, 2004 10:45 pm Post subject: Re: Word OLE - check a checkbox |
|
|
I figured it out...basically what I just did...just a dum typo on my
side....
- Lou
"Lou Feliz" <junkmail (AT) krmrisk (DOT) net> wrote
| Quote: | Help!
I have a Delphi 5 application that use OLE to open word, build a
multipage
document and fill in data, etc... it works great and for the past 2
years.... now I have been given a form that has lots of check boxes and I
need to find a way to check the boxes.
I know the check box has a bookmark associated with it. ... I can get a
bookmark and know that it returns a variant type pointing to it, but
Greatly appreciate any hints or suggestions.
- Lou
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|