WD97: IncludePicture Inserts Blank Placeholder

This article was previously published under Q164993
This article has been archived. It is offered "as is" and will no longer be updated.
When you use the IncludePicture field, and you attempt to insert an invalidor missing picture, Word inserts a blank picture placeholder and does notdisplay an error message.

NOTE: In earlier versions of Microsoft Word, when an IncludePicture fieldincludes a path to an invalid or missing picture file, Word displays thefollowing error message:
Error! Not a valid filename
Use the following steps to locate and delete a blank picture placeholder:

  1. Open your document in Word.
  2. Press ALT+F9 to display the field codes in your document.

    The IncludePicture field codes will resemble the following
    {IncludePicture <picture.gif>}


    {IncludePicture C:\<folder path>\<picture.gif>}
    (where <folder path> is the full path to the picture, and picture.gif is the name of the picture file).
  3. Locate and select an IncludePicture field, and then press ALT+F9 to toggle the field codes off.

    The picture will be selected after you toggle the field codes off.
  4. If the blank picture placeholder that is selected is blank, press DELETE to remove it. (If you have a valid picture selected, leave it alone.)
  5. Repeat steps 2-4 until all the empty picture placeholders have been deleted.
Microsoft has confirmed this to be a problem in the Microsoft productslisted at the beginning of this article.

Article ID: 164993 - Last Review: 10/04/2013 21:20:41 - Revision: 1.1

  • Microsoft Word 97 Standard Edition
  • kbnosurvey kbarchive kbbug kbfield kbusage KB164993