View Single Post
 
Old 02-13-2022, 10:25 PM
Cendrinne's Avatar
Cendrinne Cendrinne is offline Windows 10 Office 2019
Competent Performer
 
Join Date: Aug 2019
Location: Montreal Quebec Canada
Posts: 200
Cendrinne is on a distinguished road
Red face Hello Graham,

Quote:
Originally Posted by gmayor View Post
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
OK, I didn't know if it was possible or not.
I'll try your latest script and give you news this week.

It's very busy time lately for me, so please accept my appologies in advance for any tardy response.

Have a great week and Thank you sooooooooo much for guiding me. Much much appreciated

Cendrinne
Reply With Quote