Tony Flynn

Tony Flynn

  • NA
  • 1
  • 1.1k

Accessing multiple tables in an the active document in VBA

Sep 24 2013 3:49 PM

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)