Hiya,
I've been asked to write some code for a Word 2000 document that has been opened in Internet Explorer.
What i need to do is code a button to do the following:
1. Upload the document to an FTP site
2. Close the IE window
I've solved the two problems, (using the Microsoft Internet Transfer Controls for problem 1, and API for problem 2,) but the only thing is that when i close the IE Window, it asks if i want to save any changes, which i don't, as i've just uploaded it.
I've tried using:
* Application.DisplayAlerts = False
* ActiveDocument.Saved = True
* Application.Documents.Close wdSaveChanges:=False
All of which don't work.
Is there a way to stop the Save Confirmation question from appearing, or is it just not at all possible? I've been stuck on this for about a week, so ANY ideas would be very welcome.
Thanks
Muzz
I've been asked to write some code for a Word 2000 document that has been opened in Internet Explorer.
What i need to do is code a button to do the following:
1. Upload the document to an FTP site
2. Close the IE window
I've solved the two problems, (using the Microsoft Internet Transfer Controls for problem 1, and API for problem 2,) but the only thing is that when i close the IE Window, it asks if i want to save any changes, which i don't, as i've just uploaded it.
I've tried using:
* Application.DisplayAlerts = False
* ActiveDocument.Saved = True
* Application.Documents.Close wdSaveChanges:=False
All of which don't work.
Is there a way to stop the Save Confirmation question from appearing, or is it just not at all possible? I've been stuck on this for about a week, so ANY ideas would be very welcome.
Thanks
Muzz