|
|
|
|
- Reason
- Correction
- Example
- Declaring an OLE Automation object
Error 122: The name of an Automation object must be a string
You are declaring an automation object without using a string (or a string variable) to define the name of the automation object. Use a character string (or a character string variable) to define the name of the automation object. Declaring an OLE Automation object Code triggering the error
MyDocument is Automation object 5
Possible correctionGive a name to the Automation object.
MyDocument is Automation object "Word.Application"
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|