Open file directly in Word print preview?

F

Fly Girl

I have a question for all you gurus out there. Is it
possible to open a Word file directly in Print Preview so
that the user never has contact with the file in the
normal Word interface?

My goal is to open Word documents in a manner so that the
user will not be able to do anything beyond view them. So
far I've tried the following:

1) Opening the file as Read Only. This is fine except that
Save As is still available. Further, if the user clicks on
the Save icon it leads them to do a Save As which crashes
my OLE application.

2) Messing with the File menu and command bar in Word so
that the user doesn't have any Save options. This has two
drawbacks. First, this is a distributed application and
not all of our customers have a new enough version of Word
to allow me to do this. Second, if anything goes wrong
with re-enabling Save and Save As, the user's version of
Word is permanently modified to not show these options.
Seems rather risky.

3) Opening the file so that it isn't visible and then
going to Print Preview. This works except that when the
user closes Print Preview the file is now visible. There
might be a way of catching the ClosePrintPreview event
from Word but I don't know how to grab that from MS Access.

I'm now shopping for other ideas. Thanks for your help!
 
E

Eric Lawrence [MSFT]

How about opening the document in the Microsoft Word Viewer instead?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top