Hi,
Below is an excerpt of my code:
Private Sub cmdFinish_Click()
AllFormsUnload
ActiveWorkbook.SaveAs Filename:="F:\Project Proformas" & Range("title").Value
& ".xls", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
On Error Resume Next
Application.Dialogs(xlDialogSendMail).Show _
arg1:="[email protected];[email protected];[email protected]",
_
arg2:="Project Proforma"
If Err <> 0 Then
MsgBox "Sorry, an error has occured, please notify [email protected]"
End
End If
End Sub
This works for PC, but I need some code for it to work on macintosh , as "F:" is a PC term.
Cheers
Jay