Can't delete file?!!?
On Apr 7, 1:42*pm, Ed from AZ wrote:
Further piddling shows that when I remove
* * objDoc.Close SaveChanges:=wdSaveChanges
from the On Error Resume Next, it throws an error.
So the file won't delete because it's still open. *That's solved.
Now - why won't it close??
I will continue playing - any helpful drop-kicks are always
appreciated.
Ed
So, what is the value of wdSaveChanges? Is that a valid value for
SaveChanges? Are there other required parameters that you're
missing? Have you take the two Stop statements out?
Hope this helps,
Chris M.
|