One problem is that the routine uses sExt to build the path string before sExt has been assigned a value.
This worked on my Mac
Sub Open_Template()
Dim wb As Workbook
Dim sWb As String
Dim sExt As String
Const sAppName As String = "MacTemplate"
Const sPath As String = "Macintosh HD:Users:merickson:Desktop:trying"
Select Case Application.Version
Case Is >= 12: sExt = ".xltm"
Case Else: sExt = ".xlt"
End Select
sWb = sPath & Application.PathSeparator & sAppName & sExt
Set wb = Workbooks.Open(sWb)
End Sub
To find your sPath constant, you can use
Range("a1") = MacScript("choose folder")
and remove the last ":"
Or you could try
Sub trial()
Workbooks.Open ("MacTemplate.xlt")
End Sub
Bookmarks