my $table = $word->ActiveDocument->Tables(2); $table->Select();