Hi again,
I was afraid so.
There is only one way and it is noyt elegant.
Moreover, since my customers have now all migrated to 2000, I do not have
the code at hand;
I shall put you on your way.
You have to simulate the manual process by teh Sendkeys method.
If you are not familiar with it, do read the help before trying!
The principle is as follows
Sendkeys StringVariable
FilePageSetup
Will show the Page Setup window and apply to it all the keystrokes contained
in StringVariable
Mind you, you cannot simulate the mouse buttons, you have to reach the
different fields through the TAB key.
It does work... I even programmed a header including an inserted gif file
with the customer's logo!
HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
Project Management Consultancy
Prom+ade BVBA
32-495-300 620