Hi folks
Can anyone offer some help trying to use the above?
I'm trying to count the number of words in a sentence in MS Word and have tried the line below -
wrdcnt := WordDocument1.BuiltInDocumentProperties(wdPropertyWords);
This gives an error "Missing operator or semi-colon" with the insertion point at the start of 'wdPropertyWords".
As you've no doubt guessed I'm a complete tyro at automation. Any advice/pointers would be gratefully accepted.
Regards![[elephant2] [elephant2] [elephant2]](/data/assets/smilies/elephant2.gif)
Steve
Can anyone offer some help trying to use the above?
I'm trying to count the number of words in a sentence in MS Word and have tried the line below -
wrdcnt := WordDocument1.BuiltInDocumentProperties(wdPropertyWords);
This gives an error "Missing operator or semi-colon" with the insertion point at the start of 'wdPropertyWords".
As you've no doubt guessed I'm a complete tyro at automation. Any advice/pointers would be gratefully accepted.
Regards
![[elephant2] [elephant2] [elephant2]](/data/assets/smilies/elephant2.gif)
Steve