MrMajik
IS-IT--Management
- Apr 2, 2002
- 267
Using a pull-down menu I am trying to get one of the menu items to open an Excel spreadsheet.
Why won't this work?
Dim myFile As Variant 'used to open the spreadsheet file
Private Sub mnuMySpreadsheet_Click()
myFile = Shell(App.Path & "\My Spreadsheet.xls", 1)
End Sub
Thank you.
Why won't this work?
Dim myFile As Variant 'used to open the spreadsheet file
Private Sub mnuMySpreadsheet_Click()
myFile = Shell(App.Path & "\My Spreadsheet.xls", 1)
End Sub
Thank you.