Skip to content

Cross platform macros

Paulino Calderon edited this page Sep 8, 2017 · 3 revisions

There are directives in Office for Mac that can be used to create cross platform macros:

#If MAC_OFFICE_VERSION >=15 Then
  ' We are running Office 2016 for Mac
#Else
  ' Not Office 2016, no sandbox
#End If
#If Mac
  ' Place your Mac macro here
#Else
  ' Place your Windows macro here
#End If

Macphish will automatically generate a cross platform template so you can insert your own payload for Windows if desired.