i was wondering how would we find out properties and methods of OLE code.
For example, i have a code in VBA that opens a word document and writes some text.
Expand|Select|Wrap|Line Numbers
- Set oWord = CreateObject("word.application")
- Set oDoc = oWord.Documents.Add()
- 'Add text to the document.
- oWord.Selection.TypeText "This is a test. "
How to get list of these for different applications i.e word, excel, IE, etc
Also, i was wondering how would i open windows Calculator "calc.exe" . I have tried Set oObj = CreateObject("calculator.application") - but this doesn't work.
Thanks#
I think is what OLE is.