2
Answers

Accessing multiple tables in an the active document in VBA

Tony Flynn

Tony Flynn

11y
860
1

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

 

 

 

 

Answers (2)