Hi =?Utf-8?B?cnNoYWg=?=,
> I have a macro within a word doc, which fetches TIF images from a server and
> stores is temporarily on c:\temp. There are 2 macros in the document. One
[quoted text clipped - 3 lines]
> database (Oracle 9i).
>
Pasted? Why pasted? Might help if you show us the macro code and tell us the
versions of Word and Windows involved.
Have you checked exactly which filename is being used at the point the code
fails to make sure it really is a valid file path and name?
> The macro runs fine if there are few images, but if the number of images
> increases (say 200-300) then after 4-5 images are pasted it gives me a
> "Run-time error 5152": This is not a valid filename. When that particular
> image is there in the temp folder and on the server.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)