Hey, I'm new to working with OLE controls and I'm trying
overwrite dummy-text in a Word document with a date stored
in a datetime variable. The code currently is as follows:
OLE_1.object.application.Selection.Find.Execute("DUEDATE",0,1
,0,0,0,1,1,0,string(ld_due_date, "DD-MMM-YYYY"),2)
When I print the doc, however, the dummy-text remains, and I
assume it's because this particular statement can't change
the text of a document that's already open(though changes I
make directly to the document will be reflected when it's
printed). Any ideas on what will work?