Menu
Hi, I’ve opened a word document via activeX and would like to loop through the StoryRange as I would in VBA and search for a piece of text in each StoryRange.
This is what I’d do in VBA:
Dim myStoryRange As Range
For Each myStoryRange In Documents(newDocumentName).StoryRanges
Next myStoryRange
Please could someone point me in the right direction for writing this in javascript.
Your help is greatly appreciated!
Hayden