General information
Category:
COM/DCOM and OLE Automation
>As a followup to my preceding message ...
>
>This is the code that I used to try and get a series of tables to be indented. You will notice I have 2 different range variables defined here.
>I do that so I can keep the initial Document Range open (not collapsed) until I am completely finished defining and populating each of the tables. Then, I can indent and collapse the oPartnersRange.
>
>What actually happens here is the each succeeding table goes inside the previous table (or something like that). It looks cluttered and weird so I cannot be sure what is happening.
I think you need to collapse oPartnersRange to the end before adding a second (or subsequent) tables. You need a reference to a range that follows the table(s) you've already inserted.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only