ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   "Picture too large/truncated" error? (https://www.excelbanter.com/excel-programming/389041-picture-too-large-truncated-error.html)

Ed

"Picture too large/truncated" error?
 
I set a range one column by 189 rows, copy, and paste it into another
range. I get "the picture is too large and will be truncated" error
message. I'm using:

With wkb.Worksheets(strBch)
Set rngInfo = .Range(.Cells(5, numCol), .Cells(189, numCol))
End With

With wkb.Worksheets(strWks)
Set rngShow = .Range(.Cells(5, 4), .Cells(189, 4))
End With

rngInfo.Copy
rngShow.PasteSpecial xlPasteValuesAndNumberFormats

strBch and strWks are strings with Worksheets names.
numCol is a column called out by the code.
rngInfo has the information to be copied into rngShow.

Everything is text or numbers. Nothing exceeds the 256 character
limit. There are no comments. There are no pictures, images, clipart,
drawing items, shapes, charts, etc etc.

What am I doing to cause this? How can I get around it? Or at least
not have the alert come up. I have DisplayAlerts=False, but it still
comes up.

Ed



All times are GMT +1. The time now is 02:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com