M
m1ke1ee
I posted this on microsoft.public.word.vba but got no response so
We have a system where Word 2000 Documents are being opened within
Internet Explorer 6.x. The URL is the full system path to the document,
so the users can edit the document and then save it back to the original
path specified in the URL... No Problem.
We recorded a VBA macro into the document to print pages in a specific
order. Under Word, the pages print in the order specified by the macro.
When the document is opened in IE, the macro executes, ( You can
watch it in the debugger...) but, the macro always prints out all pages
in the document sequentially, ignoring the specific pages or order
listed in the macro.
The saved macro uses Application.PrintOut with the chosen page sequence
in the Pages parameter.
If I execute the "File | Print... Menu Option" and specify my pages
manually then it appears to print correctly, however the sequence of
pages is distinct, and really long. The users will never remember the
sequence for each document type.
I searched the web and tried changing my .DOC options under file type
options in Windows Explorer, so Documents don't stay in the browser
window but open up instead in Word. (Advanced Button option). Now the
macros work and print the correct sequence, however the document
filename has been changed from the URL path to "Document in Internet
Explorer". Now the users can't update the file and save it back to it's
original location unless they navigate to the original directory and
overwrite the original file.
Is there anyway I can have my cake and eat it too?
We have a system where Word 2000 Documents are being opened within
Internet Explorer 6.x. The URL is the full system path to the document,
so the users can edit the document and then save it back to the original
path specified in the URL... No Problem.
We recorded a VBA macro into the document to print pages in a specific
order. Under Word, the pages print in the order specified by the macro.
When the document is opened in IE, the macro executes, ( You can
watch it in the debugger...) but, the macro always prints out all pages
in the document sequentially, ignoring the specific pages or order
listed in the macro.
The saved macro uses Application.PrintOut with the chosen page sequence
in the Pages parameter.
If I execute the "File | Print... Menu Option" and specify my pages
manually then it appears to print correctly, however the sequence of
pages is distinct, and really long. The users will never remember the
sequence for each document type.
I searched the web and tried changing my .DOC options under file type
options in Windows Explorer, so Documents don't stay in the browser
window but open up instead in Word. (Advanced Button option). Now the
macros work and print the correct sequence, however the document
filename has been changed from the URL path to "Document in Internet
Explorer". Now the users can't update the file and save it back to it's
original location unless they navigate to the original directory and
overwrite the original file.
Is there anyway I can have my cake and eat it too?