Consulting

Results 1 to 6 of 6

Thread: The picture is too large and will be truncated

  1. #1

    The picture is too large and will be truncated

    The picture is too large and will be truncated

    This is what I get in Excel 97. I searched on the internet and only could
    find a MS KB article referring to Office 2000. It also appears that this is
    some kind of bug... that has been in the Office suite since 97 and still is
    in Office 2003, etc.

    I have VBA code copying and pasting text rows. There are no image picture
    involved. But when I get this message, I do not get any reference of where
    it was in VBA code.

    How can one find out more about this bug?

  2. #2
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Quote Originally Posted by dhruba.bando
    I have VBA code copying and pasting text rows. There are no image picture
    involved.
    By copy and paste text rows do you mean entire rows of a spreadsheet with text in the cells? Please post the code you are using for this operation.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  3. #3
    Quote Originally Posted by lucas
    By copy and paste text rows do you mean entire rows of a spreadsheet with text in the cells? Please post the code you are using for this operation.
    This is the only piece of code that does copy/paste:

    Set MoldRow = oSheet.Rows(CurRow + TableRow - 2)
    MoldRow.Copy
    oSheet.Rows(CurRow + TableRow - 1).PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
    SkipBlanks:=False, Transpose:=False

    So as you can see it's copying a whole entire row from 2 rows above, to 1 row above.


    Any ideas on how to suppress the error bug message?

  4. #4
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    I don't see why this should be giving you an error yet. Could you possibly post the workbook or the relevant part with the code your using. Remove any proprietary info including from doc properties. If its too big, zip it up.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  5. #5
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    I just noticed you mentioned Office 97...that could be the problem
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  6. #6
    Quote Originally Posted by lucas
    I just noticed you mentioned Office 97...that could be the problem
    Problem for you, or that lines of code is problematic for Office 97?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •