I have corrected my problem with Project!
I have supplied a value to all parameters. All these where supposed to have a default value but it seems that one have a problem.
>I've never user Project so I can't help you with it specifically. And it doesn't support VBA?
FYI, yes Project supports VBA just like the other Office applications.
I have a question for you concerning FindWindow. Is this function can find child window or only parent window? The printer dialog box is a child window.
Thanks a lot.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com