Reply
 
Thread Tools Display Modes
  #1   Report Post  
David
 
Posts: n/a
Default Pasting text in table results in merged columns...

I'm attempting to paste data from a table in my app -- it's on the clipboard
in CF_TEXT format, with a tab (0x09) between columns, and each row ending
with a 0x0D0A. ( I am accessing Word as a COM object from a C++ program, if
that matters. It doesn't work if I do it manually, either).

If I paste (or PasteSpecial), some columns are merged (IE: column 1 may
contain data from the copied column 1 and 2), and it seems to happen
randomly. I can paste one row of data at a time and get four or five rows
perfectly lined up, then a couple of rows merged. If I try to paste an
entire table at one time, it is all merged together. I can provide code
samples and .DOC samples if necessary.

I guess the question is: What is the proper way to paste a table? Are
there any flags I should set before or after? Timing issues? I am
completely lost and am behind deadline, which doesn't help.

I would appreciate any ideas...

Thanks!

- David Little
- Houston, TX

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pasting into a table [email protected] New Users 2 June 24th 05 03:46 PM
Columns with text that stays on one side with pictures & footnotes sjschmidtky Page Layout 1 June 21st 05 04:10 AM
Making a table "hidden text" Shubha Tables 2 June 14th 05 10:13 PM
Table AutoFormats vs. Table Styles confusion Tony Jollans Tables 5 March 6th 05 07:18 PM
Any way to link text with Figure or Table number? Richard Stanford Microsoft Word Help 1 January 4th 05 02:32 PM


All times are GMT +1. The time now is 06:17 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"