Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start office (or other) program with named empty file.

Status
Not open for further replies.

anrver

Programmer
Jun 24, 2002
12
0
0
CH
Hi,
Is there a way to start a program and to make sure that the file will be saved with a name that was pre-defined.

I have a wizzard who collects information. Depending on that info a filename is generated and a program is selected (word, excel, paint, powerpoint etc) . At the end of the wizzard i want to launch the apllication with an empty screen. When saving this document the pre-defined filename must be presented.

Many thanks

Erik Verstichel
Panalpina World Transport.
Antwerp, Belgium
 
You can use objects such as Excel, Word... or you can use a process. You're probably better off with objects if you need to use the properties and methods within the object.

The process is similar to the old shell command.

I hope this helps.



Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top