How to find Reference Documents Reveal OLE of Word, Excel interface...
Posted on 2002-06-07
I've been wondering that in code shown below, where can I find any Document or Reference Docs reveal all interface to Microsoft word, Excel?
var wrdApp : Variant;
wrdApp := CreateOleObject('Word.Application');
wrdApp.Visible := True;
// Create a new document
wrdDoc := wrdApp.Documents.Add();
wrdSelection := wrdApp.Selection;
wrdMailMerge := wrdDoc.MailMerge;
That is to interface with MS Word using OLE, I have to know internal function of OLE for example
wrdDoc := wrdApp.Documents.Open('C:\Yahoo.doc');
If I don't know what function or procedure wrdApp.Documents have (in this example Open() is one of those functions), then I don't know how to even open MS word documents. Tell me where reference site, Ducuments I can download such full reference object function...Please