View Single Post
 
Old 01-22-2015, 06:31 PM
charlesdh charlesdh is offline Windows 7 32bit Office 2010 32bit
Expert
 
Join Date: Apr 2014
Location: Mississippi
Posts: 382
charlesdh is on a distinguished road
Default

Hi,

Here's a code that checks the "Operating" system.
Set the users button to run this code.
If the "OS" is windows ave the call to the windows code.
If it a mac then call the mac code.
Ps. I'm going to do this in a file that I created that needs to run in windows or mac.

Code:
Sub Test_Me()
Dim TheOS As String
TheOS = Application.OperatingSystem
If Left(TheOS, 7) <> "Windows" Then Call Gather_Data
End Sub
Reply With Quote