I want to be able to launch a certain excel file from a button in Access. I've searched the forum and have found that there are problems passing filepaths with spaces in them. The solution is using more quotes around the filepath to pass the spaces too. However, I'm still having trouble. Can you spot any other problems with this code? It launches an excel shell, then gives me a "file not found" error.
thanks for your help. Please speak slowly in small words
I don't have much experience in Access/VBA.
thanks for your help. Please speak slowly in small words

Code:
Private Sub cmd_OpenExcel_Click()
On Error GoTo Err_cmd_OpenExcel_Click
Dim oApp As Object
Dim TaskID As Variant 'for holding return of shell
Set oApp = CreateObject("Excel.Application")
oApp.Visible = True
'Only XL 97 supports UserControl Property
TaskID = Shell("""EXCEL.EXE C:\Documents and Settings\eb30774\Desktop\Book2.xls""", vbMaximizedFocus)
On Error Resume Next
oApp.UserControl = True
Exit_cmd_OpenExcel_Click:
Exit Sub
Err_cmd_OpenExcel_Click:
MsgBox Err.Description
Resume Exit_cmd_OpenExcel_Click
End Sub