#21420
ssskyhigh
参加者

ありがとうございました!問題が解決しました。
エラーの原因は、
with(document.selection){
editor.ExecuteCommandByID(4096); // 新規文書
editor.OpenFile(fileName);
Find();
}
となっていたことだったようです。結局、
editor.OpenFile(fileName, 0, eeOpenAllowNewWindow);
document.selection.Find();
としました。お忙しい中、初歩的な質問にも丁寧にご返信いただき、恐縮です。
どうもありがとうございました。