0
ブックをMac上のデスクトップに保存するためのマクロを記録しましたが、ユーザー名にVBA environ $(username)のような変数名を作る方法がわかりませんMACの可変ユーザー名は何ですか
ActiveWorkbook.SaveAs Filename:="/Users/username/Desktop/test.xls", _
なFileFormat:= xlExcel8、パスワード:= ""、WriteResPassword:= ""、_ ReadOnlyRecommended:= CreateBackup、偽:= Falseの
AppleScriptでは
可能重複https://stackoverflow.com/questions/1104972/how-do-i-get-the - アクティブユーザ名 - コマンドライン - インos-x –
[OS Xのコマンドラインからアクティブユーザの名前を取得するにはどうすればいいですか?](https ://stackoverflow.com/questions/1104972/how-do-i-get-the-name-of-the-active-user-via-the-command-line-in-os-x) –