Document Management with Microsoft Word

G

Guest

Dear Group,

Is there any straightforward way to do the following two tasks using VB.NET:

1. Overload the New/Save/Open/Print commands in Microsoft Word & Excel to
call functions in a seperate .dll ?

2. Write a data string to a hidden or custom field within Microsoft Word?

Has to apply to Office 2000 DOM and newer.

Many thanks in advance!


--

Liddle Feesh
*fap fap fap fap*
<>< <>< <>< <>< ><>
<>< <>< <>< <>< <>< <><
 
P

Pat Garard

G'Day Little Fish,
1. Overload the New/Save/Open/Print ...
Do you mean OVERRIDE?

If you create Macros whose names are:
Sub FileNew()
Sub FileOpen()
Sub FileSave()
Sub FileSaveAs()
Sub FilePrint()
Sub FilePrintDefault()
Sub FilePrintPreview()
Sub FilePrintPreviewFullScreen()
or Sub FilePrintSetup()
then these will be executed in place of the Standard Word Commands.

You are responsible for displaying any required Dialogs, and for processing
the user input to those Dialogs.
2. Write a data string to a hidden or ...
Investigate Document Variables
and Document Properties.
 
G

Guest

Pat Garard said:
G'Day Little Fish,

Do you mean OVERRIDE?

Yes, yes I do! Sorry, it's late and I haven't had time to sleep yet :D
If you create Macros whose names are:
Sub FileNew()
Sub FileOpen()
Sub FileSave()
Sub FileSaveAs()
Sub FilePrint()
Sub FilePrintDefault()
Sub FilePrintPreview()
Sub FilePrintPreviewFullScreen()
or Sub FilePrintSetup()
then these will be executed in place of the Standard Word Commands.

You are responsible for displaying any required Dialogs, and for
processing
the user input to those Dialogs.

Investigate Document Variables
and Document Properties.

Pat, thankyou! I could kiss you!


--

Liddle Feesh
*fap fap fap fap*
<>< <>< <>< <>< ><>
<>< <>< <>< <>< <>< <><
 

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