D
David
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
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