Mega Code Archive

 
Categories / VisualBasic Script / Word
 

Declare the variable tempTable and then select the first table in the document named Log doc and assign its Range object to tempTable

Sub tableSel()     Dim tempTable     Documents("Log.doc").Tables(1).Select     Set tempTable = Selection.Tables(1).Range     tempRange.Tables(2).Select End Sub