What do you mean, "reads some gif files"? Do you just mean it looks for files of that type with other certain critieria, and then pastes them into a Word Doc?
Sorry for the vagueness of my post. I mean, I have file like: pics.gif and pic2.gif. I want this files to be inserted in a word file. I used the code below but the pictures are pasted on top of each other and can only open the file with word prior to 97.
Set objWord = CreateObject("Word.Application")
strTemplateFile = "C:\Template.doc"
Set objWordDoc = objWord.Documents.Add
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.