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!

Opening excel using VB

Status
Not open for further replies.

eussias

Programmer
Sep 25, 2001
97
AU
I have an open file dialog box which, when a certain file is selected, the application associated with the file will launch, and the file will be opened. It's working fine except for Excel files. Does anyone know why this would be happening?





 


Call ShellExecute(0&, "Open", sExcelFile, vbNullString, vbNullString, vbNormalFocus)

If that still does not work you could try automation

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top