Hello my fellow mac programmers
I am not a programmer on either windows or mac.
the best I am is a windows guy able piece together some basic macros.
A presentation I built has a macro that sends me an email and closes powerpoint when a control button is pressed. Very simple. However, windows coding doesn't work with mac. I have a handful of users that are on mac.
Anyone feel like recompiling this windows macro to work on a mac?
Private Sub CommandButton1_Click()
Dim olApp As Object, olMail As Object
Set olApp = CreateObject("Outlook.Application")
Set olMail = olApp.CreateItem(0)
olMail.To = "someoneemail@mail.com"
olMail.Subject = "I have read & understand the use of "
olMail.Body = "I have read & understand the use of "
olMail.send
ActivePresentation.Close
End Sub
Many thanks in advance
I am not a programmer on either windows or mac.
the best I am is a windows guy able piece together some basic macros.
A presentation I built has a macro that sends me an email and closes powerpoint when a control button is pressed. Very simple. However, windows coding doesn't work with mac. I have a handful of users that are on mac.
Anyone feel like recompiling this windows macro to work on a mac?
Private Sub CommandButton1_Click()
Dim olApp As Object, olMail As Object
Set olApp = CreateObject("Outlook.Application")
Set olMail = olApp.CreateItem(0)
olMail.To = "someoneemail@mail.com"
olMail.Subject = "I have read & understand the use of "
olMail.Body = "I have read & understand the use of "
olMail.send
ActivePresentation.Close
End Sub
Many thanks in advance