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  

Pasting text in table results in merged columns...



 
 
Thread Tools Display Modes
  #1  
Old September 1st, 2005, 11:12 PM
David
external usenet poster
 
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

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Options Group Patty Stoddard Using Forms 19 August 4th, 2005 02:30 PM
Normalizing Brandie New Users 8 July 2nd, 2005 01:13 AM
Help with design Ronnie Database Design 6 March 12th, 2005 02:53 PM
Here's a shocker Mike Labosh General Discussion 2 October 26th, 2004 05:04 PM
Must # of fields in the 2 tables in an Append Query be equal? CreativeImages Running & Setting Up Queries 3 October 1st, 2004 05:16 PM


All times are GMT +1. The time now is 07:36 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.