LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 337
Default Difference office versions

I am trying to test for various versions of office.
The following doesn't work.
Need help


Private Sub CommandButton39_Click() 'Add new customer
Dim X As String
Dim Y As String
Dim Z As String

On Error GoTo ehandler3

X = Shell("C:\Program Files\Microsoft Office\Office\MSACCESS.EXE
\\SERVER3\database\customers.MDB", 1)
Exit Sub

ehandler3:
On Error GoTo ehandler4

Y = Shell("C:\Program Files\Microsoft Office\Office11\MSACCESS.EXE
\\SERVER3\database\customers.MDB", 1)
Exit Sub

ehandler4:

Z = Shell("C:\Program Files\Microsoft Office\Office12\MSACCESS.EXE
\\SERVER3\database\customers.MDB", 1)

End Sub
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between versions 11.8307.8211 and 11.8169.8172 MarkusB Excel Discussion (Misc queries) 3 November 13th 09 12:12 PM
Multiple Office Versions AG[_9_] Excel Programming 12 July 21st 08 01:54 PM
Is solver different between Office versions? Jan Hime[_2_] Excel Worksheet Functions 1 January 15th 08 08:11 PM
Vlookup -Difference between 2 versions Ed Excel Worksheet Functions 1 January 13th 08 04:41 PM
difference between office 2003 and office 2007 alt+n Excel Discussion (Misc queries) 1 October 4th 06 11:54 AM


All times are GMT +1. The time now is 12:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"