I'm doing this macro for Base, but it doesn't work and I can't find specific information for Mac.
The purpose is to open the stored folder (not a file).
Does "explorer" really work on Mac too?
Code: Select all
Sub ShowFolder (Evento)
Dim oForm As Object
Dim Folder As String
Dim oPathLink as String
Dim oPahtOS as String
oForm = Evento.Source.Model.Parent
Folder= oForm.GetByName("Location").Text
GlobalScope.BasicLibraries.LoadLibrary("Tools")
oPathOS = ConvertFromURL(Folder)
Shell "explorer " & oPathOS
End Sub