A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Inserting a Row into a Table Using InsertXML



 
 
Thread Tools Display Modes
  #1  
Old October 19th, 2006, 06:10 AM posted to microsoft.public.word.tables
Oleg Krupnov
external usenet poster
 
Posts: 1
Default Inserting a Row into a Table Using InsertXML

Hi,

The problem is that the new row is inserted as a nested table inside
the first cell of the next existing row, whereas I need to insert a new
row between the two existing rows.

Though when I insert my new row after the last existing row, everything
works fine.

I noticed however that when I select an entire existing row (clicking
on the left margin of the row) and copy it to clipboard and then
position the cursor in the first cell of the next row, and then paste,
the row is inserted correctly between the rows. So there is some
difference in how the new text is inserted from the clipboard (Word's
Range object) and Word XML.

Perhaps there's an element in the WordML schemas that I can add to
specify that the row should stick peer between existing rows, not start
a nested table?

Thanks.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:09 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.