Thanks, I've been trying that and it doesn't seem to work. It keeps telling me that the file path may be wrong. It's not. Or that a componet may be missing? Do you think it could have something to do with the fact I'm creating the file just before I want it to be opened?