![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#6
|
||||
|
||||
|
You still have to process each table separately e.g.
Code:
Sub Macro1()
Dim oTable As Table
Dim i As Integer
For Each oTable In ActiveDocument.Tables
oTable.Columns(2).Select
For i = 3 To oTable.Columns.Count
Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
Next i
'do something with the selection here
Next oTable 'then move on to the next table
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
| Tags |
| all tables, help please, range.rows |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
How to script most table column in word document?
|
Cendrinne | Word VBA | 15 | 03-22-2021 06:45 PM |
Dynamically select a TextBox based on range value
|
IIOII | Word VBA | 8 | 07-20-2016 11:28 PM |
Help with Index Function to Select Range of Cells
|
bretyuin | Excel | 1 | 02-24-2016 05:11 AM |
| VBA Word Table - Select More than 1 Column at a time - Apply Formatting | jc491 | Word VBA | 12 | 09-24-2015 06:03 AM |
| Way to select a range using the mouse on a chart? | omahadivision | Excel Programming | 6 | 12-29-2012 09:21 AM |