VBA 実行時エラー1004 UiPath実行時のみエラー多発!

Excelのマクロを自動で実行するRPAを作成しています。動作は以下の通りです。

①チェック.xlsxにあるチェックシートのマクロのボタンを押す

②申請書.xlsxのチェックをかける

③問題の有無に関わらず、チェック.xlsxの記入シートに転記を行います。

手動ではほとんど出ないのですが、UiPathで行うと、③の時点で

Microsoft Visual Basic
実行時エラー’1004’:
RangeクラスのSelectメソッドが失敗しました。

上記のエラーが高頻度で出現してしまい、思うように進みません。
エラーが出ても転記できる時もあれば、できない時もあり、どのように対処すればいいか分かりません。

現状、ExcelのVBAを直すのは要件定義外なので、UiPathの方で調整をかけたいのですが、どのようにすればよいでしょうか?
Excelのチェック.xlsxでは、「VBAプロジェクトオブジェクトモデルへのアクセスを信頼する 」をチェックしています。
総合テスト環境やリモートデスクトップならではの現象なのでしょうか?

有識者の方のご意見・アドバイスを何卒よろしくお願いいたします。

@topology271828

first thing …use execute macro activity to start a macro instead of clicking and all…and 1004 occurs when code could not be read…second thing if the macro is there in excel then it should be an xlsb and not xlsx …so please check the same

cheers

Hi @topology271828

You can use the Execute Macro activity to run macros that are already written within an Excel file. This activity is part of the Classic Excel activities.

If you need to execute external macros, you can write the macro code in a text file and use the Invoke VBA activity to run it in an Excel file. The Invoke VBA activity is part of the Modern Excel activities.

Hope it helps!!