LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Dropping Data When Copying

In the code below, I am copying data from an Excel worksheet to a Word
doc. It works great, except only the first 1024 characters in a cell
are getting copied. The rest is getting dropped. I have verified the
data (over 1024) is in the Excel cell when it is copied. I can't
figure why this is happening. I know some eariler versions of Excel
had display limitations. I am using Excel 2002 and 2003. I have also
tried formatting the worksheet before it is copied to make sure all
data is visible in the cell before it's copied and it still drops char
over 1024. Any ideas would be greatly appreciated.

Anne

-----------------
Sub PasteDataTest()
'go to the worksheet and get copy the data to the word file
Worksheets("Temp").Activate
Range("A1").Select
ActiveCell.CurrentRegion.Select
Selection.Name = "myRange"

' copy the range, assumes current excel active workbook
Range("myRange").Copy

' Paste as formatted text.
WordApp.Selection.PasteSpecial Link:=False, DataType:=wdPasteRTF,
_
Placement:=wdInLine, DisplayAsIcon:=False

End Sub
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table Still Dropping Data Sandi Excel Discussion (Misc queries) 1 September 5th 06 05:15 PM
Dropping data labels Caro-Kann Defence Charts and Charting in Excel 3 February 1st 06 01:29 PM
prevent display of data series dropping to graph x axis for null d norco Charts and Charting in Excel 2 December 21st 05 01:39 PM
Problem Dropping data in first Empty Cell and across the row Ligaya Excel Programming 2 December 8th 04 06:21 PM
Dropping Data to a VB.net Program BrianElson Excel Programming 1 December 16th 03 12:37 PM


All times are GMT +1. The time now is 03:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"