Now in Mac Sequoia 15.3 and Excel v16.94 the whole commandline like underneath does not work at all
Mynumber ="1234"
Myfile = application.activeWorkbook.Path & Application.PathSeperator & "Invoice-" & `Mynumber & ".pdf"
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, filename:=Myfile _
, Quality:=xlQualityMinimum, IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=False