Date: Thu, 6 Jan 2005 07:46:41 +0000
Reply-To: Guido T <cymraeg_erict@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Guido T <cymraeg_erict@HOTMAIL.COM>
Subject: Re: Insert a .GIF file into Word using DDE
In-Reply-To: <200501060004.j0604rT3015403@listserv.cc.uga.edu>
Content-Type: text/plain; format=flowed
>From: Paul Walker <walker.627@OSU.EDU>
>Subject: Insert a .GIF file into Word using DDE
>Date: Wed, 5 Jan 2005 19:04:53 -0500
>
>When I try inserting a .GIF graphics file into Word using DDE, I get the
>following message.
>
> "The graphics filter was unable to convert this file."
>
>Has anyone ever seen this, and how did you deal with it. The code I am
>using is shown below, and is out of Vyverman's SUGI 28 paper.
>
>data _null_;
> put %unquote(%bquote('[InsertPicture .Name="&myexcel.gif"]'));
>run;
Hi Paul,
There is a fix for Word 2002 in Office XP Service Pack 3 which would seem to
address this problem.
The following is from the list of issues fixed by Office SP3
---- 8< -----
You receive the "The graphics filter was unable to convert this file" error
message when you programmatically insert a picture into Word 2002
When you try to insert a picture into Word by using the VBA
Application.Dialogs(wdDialogInsertPicture) function, you may receive the
following runtime error message:
Run-time error '5382':
The graphics filter was unable to convert this file. (picture_file_name.ext)
----- >8 -----
HTH
++ Guido
|