Warning!Google serves cookies to analyse traffic to this site. Information about your use of
our site is shared with Google for that purpose.See
details
Sub エラー発生_selectされていてもactiveになっていない() Debug.Print "active="; ActiveSheet.Name Worksheets(Array("Sheet2", "Sheet1", "Sheet3")).Select Debug.Print "active="; ActiveSheet.Name Worksheets("Sheet1").Range("B3").Select 'エラー End Sub
Array でまとめて選択。
エラー発生。 実行時エラー '1004': Range クラスの Select メソッドが失敗しました。エラー発生行。