江村様
以前に立てたトピックなのですが、やはり表題の動作が気になるため、再度ご連絡いたします。
動画
検索ウィンドウが無い場合は一瞬で終わっていますが、(~4秒)
検索ウィンドウが出ている場合(12秒~)は、フリーズ状態のようになってしまい、完了までに30秒ぐらいかかってしまいます。
https://www.dropbox.com/s/edyd4bnnk1x956d/0528_3.avi?dl=0
マクロ実行時には、検索ウィンドウを出さないように対応していましたが、
消し忘れてしまうと作業が停止してしまうので、改善して頂けるとうれしいです。
改めて、ご確認頂けましたら幸いです。
v16.7.2
実行したマクロ
(下はサンプルですが、実環境ではさらに多い行のマクロを利用しており、完了までに更に時間がかかります。)
****
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);
document.selection.Replace(“a”,”bbb”,eeFindNext | eeFindSaveHistory | eeReplaceAll,0);