One can communicate with word via VBA, not with macro's.
In VBS you should add a reference to word via Tolols/Refrences in the VBA window. When in the refrences window press "M" (for microsift) and move down until you see "Microsoft Word X.X Object Libery" tag this and press OK.
Her is some code that I use to set properties in word but this code will also show you the properties.
WordProp oWord, DLookup("EditorName", "Editor")
Function WordProp(ByVal oWord As Object, Optional Title, Optional Subj, Optional AdrID)
Dim Cat, KeyW
On Error Resume Next
If Not IsBlank(AdrID) Then
Cat = DLookup("CatText", "AddressCategory", "Category=" & AdrID)
KeyW = DLookup("EgenID", "AddressKeywords", "AdrID=" & AdrID)
KeyW = DLookup("Text", "Keywords", "EgenID='" & KeyW & "'")
End If
oWord.Visible = True
oWord.ActiveDocument.BuiltinDocumentProperties(wdPropertyTitle) = Title
oWord.ActiveDocument.BuiltinDocumentProperties(wdPropertyAuthor) = DLookup("EditorName", "Editor")
oWord.ActiveDocument.BuiltinDocumentProperties(wdPropertyCompany) = DLookup("LHead", "Editor")
oWord.ActiveDocument.BuiltinDocumentProperties(wdPropertyHyperlinkBase) = "
oWord.ActiveDocument.BuiltinDocumentProperties(wdPropertyCategory) = Cat
oWord.ActiveDocument.BuiltinDocumentProperties(wdPropertyKeywords) = KeyW
oWord.ActiveDocument.BuiltinDocumentProperties(wdPropertyComments) = DLookup("LFooter", "Editor")
oWord.ActiveDocument.BuiltinDocumentProperties(wdPropertySubject) = Subj
End Function
Let me know if I can help further.
Herman
Say no to macros