Unfortunately Macros do not yet support specifying MP3 settings, only the basic file type (WAV/MP3/etc).
Macros will use the setting last used by Audacity for exporting MP3, so the workaround is to export a dummy MP3 file in the required format before running the macro.
Adding exact format support to macros is on the developer’s “to do” list.