B
Bill Cunningham
I have a word doc that needs to be able to close itself
without saving changes automatically in the course of a
VBA proceedure.
This works fine when the doc is on a local drive, but most
users will be accessing it via an intranet, so the doc
will be launched inside an IE Browser Window.
When this code runs in the context of a Browser:
ThisDocument.Close wdDoNotSaveChanges
I get a word error #4605 - The command is not available as
the document is in another application.
How do I make a document close itself automatically in the
context of an IE browser window (I don't need to worry
about other browsers, the environment is strictly IE).
without saving changes automatically in the course of a
VBA proceedure.
This works fine when the doc is on a local drive, but most
users will be accessing it via an intranet, so the doc
will be launched inside an IE Browser Window.
When this code runs in the context of a Browser:
ThisDocument.Close wdDoNotSaveChanges
I get a word error #4605 - The command is not available as
the document is in another application.
How do I make a document close itself automatically in the
context of an IE browser window (I don't need to worry
about other browsers, the environment is strictly IE).