Hello,

I'm trying to create a macro that will:

1. Convert text into two columns, separated at tab character.
(This can be applied to entire document; the text I'm using for this would only ever result in two columns.)

2. Select first column, merge cells, AutoFit to Contents.

3. Select second column, merge cells, AutoFit to Contents.

Is this possible?

Best I can come up with for the first part:

'convert text into tables
    Selection.WholeStory
    Selection.ConvertToTable Separator:=wdSeparateByTabs, NumColumns:=2
        With Selection.Tables(1)
        .Style = "Table Grid"
        .ApplyStyleHeadingRows = True
        .ApplyStyleFirstColumn = True
        End With
I can't figure out how to select specific columns once that's done...

Thanks for any help!