I have a problem with new table: ActiveDocument.Tables.Add range:=mysec.range, NumRows:=2, NumColumns:=2 mysec.range.InsertBefore Chr(13) & Chr(10) & "text 1" But the "text 1" is disappearing or is in a cell (1,1) of the table. How can I add the text before the table?? Also Do You know how put the new line to the text? Now I'm trying to put codes in ASCII 13 and 10.
"Rafal K." <Rafal K.@discussions.microsoft.com> wrote in message news:212C02C4-BD3D-49ED-8F36-DD56679A3A19@microsoft.com... >I have a problem with new table: > > ActiveDocument.Tables.Add range:=mysec.range, NumRows:=2, NumColumns:=2 > mysec.range.InsertBefore Chr(13) & Chr(10) & "text 1" > > But the "text 1" is disappearing or is in a cell (1,1) of the table. > How can I add the text before the table?? Add the text first, and insert the table after > Also Do You know how put the new line to the text? Now I'm trying to put > codes in ASCII 13 and 10. Use the InsertParagraphAfter method -- Regards Jonathan West - Word MVP www.intelligentdocuments.co.uk Please reply to the newsgroup