- Application.Runでマクロを呼び出す。
- ファイル名はシングルクォーテーションで括る。
- ファイル名の後に「!」を付ける。
- シート内のマクロの場合にはシート名を付けてドット
- 最後にマクロ名を付ける。
example
Application.Run "'BOOK.xlsm'!Sheet1.Macro"
Go to list of users who liked
More than 5 years have passed since last update.
Application.Run "'BOOK.xlsm'!Sheet1.Macro"
Register as a new user and use Qiita more conveniently
Go to list of users who liked