コードは数日前に正常に動作していましたが、現在は件名エラーが発生しています。助けて?ランタイムエラー '6'の取得:オーバーフローエラー
Sub CopyRows()
Dim bottomL As Integer
Dim x As Integer
bottomL = Sheets("Pacer").Range("L" & Rows.Count).End(xlUp).Row: x = 1
Dim c As Range
For Each c In Sheets("Pacer").Range("A1:L" & bottomL)
If (c.Value = "AFSB" Or c.Value = "TEIGIP4T" Or c.Value = "EPP") Then
Intersect(c.Parent.Columns("A:Q"), c.EntireRow).Copy Worksheets("Portfolio").Range("A" & x + 1)
x = x + 1
End If
Next c
End Sub
を説明してみ? – Rory
if(c.Value = "AFSB"またはc.Value = "TEIGIP4T"またはc.Value = "EPP")Then – SirHillaryPushemoff
あなたはおそらく '#######'と表示されるセルを持っていますか? '(c.Value2 =" AFSB "またはc.Value2 =" TEIGIP4T "またはc.Value2 =" EPP ")Then' – Rory