I am completely new to programming.
I have opened a word document using vba and now I want to access a large number of two cell single column tables that are set up throughout the report.
the form prompts for the user to press a button which opens the document. In the same sub I have typed
ActiveDocument.Shapes("Text Box 59").Select() (I got this from the record function in macros word 2007)
When it runs I get Active Document is not declared it may be inaccessible due to its protection level.
Can anyone help
Tony
Posted Sep 25, 2013, 2:49 AM
What is the value of shapes count ?
MsgBox (ActiveDocument.Shapes.Count)
Posted Sep 25, 2013, 2:38 AM