7.2.3 Important Note about Syntax with ActiveX Collections
When you work with a collection in an ActiveX component using RDMLX you must use the RDMLX item keyword. For example, the Word VBA statement to activate a document:
Documents("test.doc").activate
Becomes in RDMLX:
invoke method(#wordapp.documents.item<'test.doc'>.activate)
Note also that instead of:
- Parenthesis for the item in the collection you use the greater than and less than signs <>.
- Double-quotes you use single quotes.