title: "runtime error 1004 method range of object _global failed" VBA error
body: <p>Please help with the error:</p>
  
  <blockquote>
    <p>runtime error 1004 method range of object _global failed</p>
  </blockquote>
  
  <p>That I recieve in this vba. </p>
  
  <p>I have around 10 more VBAs before this one, none of them return an error, but this one (they are identical, only page numbers a different):</p>
  
  <pre><code>Sub actualizare()
  Dim lastRw1, lastRw2, nxtRw, m
  Dim StartRow, x
  Dim StartDate As String
  Dim FndRw As String
  
  lastRw1 = Sheets(11).Range("B" &amp; Rows.Count).End(xlUp).Row
  
  StartDate = Range("908!A21").Value
  
  For StartRow = 1 To lastRw1
  If Range("19_01!B" &amp; StartRow).Value = StartDate Then
  
  FndRw = StartRow
  Exit For
  End If
  Next
  
  ***Range("19_01!AM" &amp; FndRw &amp; ":AM" &amp; lastRw1).ClearContents***
  
  lastRw2 = Sheets(15).Range("A" &amp; Rows.Count).End(xlUp).Row
  
  For nxtRw = 1 To lastRw2
  
  With Sheets(11).Range("B2000:B" &amp; lastRw1)
  
  Set m = .Find(Sheets(15).Range("A" &amp; nxtRw), lookat:=xlWhole)
  
  If Not m Is Nothing Then
  Sheets(15).Range("B" &amp; nxtRw).Copy _
  Sheets(11).Range("AM" &amp; m.Row)
  
  End If
  End With
  Next
  End Sub
  </code></pre>
  
  <p>Thank you!</p>