I've found two other users who asked this question, but neither of them had an answer. I'm hoping I'll have better luck!
I'm creating a word document through code (there are reasons I don't want to use a template). I insert a table and populate it with data, and then I want to get out of that table, skip down a line or two, and insert a 2nd table which will be populated with data.
I haven't been able to do this, the 2nd table keeps inserting inside the last cell of the 1st table. I tried running a macro in Word to see what code was generated, but once the macro is running I can't figure any way to get out of the 1st table.
Can anyone give me a hint how to get out of a table (programatically) once you are through inserting data?
I'm creating a word document through code (there are reasons I don't want to use a template). I insert a table and populate it with data, and then I want to get out of that table, skip down a line or two, and insert a 2nd table which will be populated with data.
I haven't been able to do this, the 2nd table keeps inserting inside the last cell of the 1st table. I tried running a macro in Word to see what code was generated, but once the macro is running I can't figure any way to get out of the 1st table.
Can anyone give me a hint how to get out of a table (programatically) once you are through inserting data?