kingnothing0
Programmer
Hello,
I am trying to do MS Word automation in PB7. I have a doc with embedded table containing 4 columns. On subtitle lines I want to merge all 4 columns into 1 column so the title is displayed nicely, every other line should contain 4 columns for each data element. I used this command "o1Table.Range.Cells.Merge", it works; however, I cannot set the number of columns back to 4. Any help would be appreciated.
Here is a sample layout of what a sample table would need to look like.
This is Title 1
column1 column2 column3 column 4
1 2 3 4
1 2 3 4
1 2 3 4
This is Title 2
column1 column2 column3 column 4
1 2 3 4
1 2 3 4
1 2 3 4
This is Title 3
column1 column2 column3 column 4
1 2 3 4
1 2 3 4
1 2 3 4
I am trying to do MS Word automation in PB7. I have a doc with embedded table containing 4 columns. On subtitle lines I want to merge all 4 columns into 1 column so the title is displayed nicely, every other line should contain 4 columns for each data element. I used this command "o1Table.Range.Cells.Merge", it works; however, I cannot set the number of columns back to 4. Any help would be appreciated.
Here is a sample layout of what a sample table would need to look like.
This is Title 1
column1 column2 column3 column 4
1 2 3 4
1 2 3 4
1 2 3 4
This is Title 2
column1 column2 column3 column 4
1 2 3 4
1 2 3 4
1 2 3 4
This is Title 3
column1 column2 column3 column 4
1 2 3 4
1 2 3 4
1 2 3 4