MikeDuffield
Registered User.
- Local time
- Today, 16:37
- Joined
- Aug 31, 2010
- Messages
- 50
Hello all,
I'm new to the forum and would like some assistance if you wouldn't mind?
I'm currently building a "Main Menu" tool for the team I work with, which has buttons and combo boxes that allow a user to choose a tool to use and then launch it.
When I use "Shell" to open an Excel sheet it works, however when other users go in using Access Viewer, they get an error message and the program terminates. I have Office 2007 and everyone else on the team has Office 2002 / 2003, could this be the cause of the problem?
The code that works on mine but crashes everyone elses is:
Any idea why it would work on mine but nobody elses?
I'm assuming it's to do with the difference in versions perhaps...
Any help would be much appreciated.
Regards,
Mike.
I'm new to the forum and would like some assistance if you wouldn't mind?
I'm currently building a "Main Menu" tool for the team I work with, which has buttons and combo boxes that allow a user to choose a tool to use and then launch it.
When I use "Shell" to open an Excel sheet it works, however when other users go in using Access Viewer, they get an error message and the program terminates. I have Office 2007 and everyone else on the team has Office 2002 / 2003, could this be the cause of the problem?
The code that works on mine but crashes everyone elses is:
Code:
Private Sub checkingtoolbtn_Click()
Dim checkingtool As String
checkingtool = """G:\Sales and Marketing\General\Export\Export Lookup.xls"""
Call Shell("Excel " & checkingtool, 1)
End Sub
Any idea why it would work on mine but nobody elses?
I'm assuming it's to do with the difference in versions perhaps...
Any help would be much appreciated.
Regards,
Mike.