The following code worked several times and is now giving a Runtime Error and tagging the dst.value = frm value portion
Any ideas on why this is happening?
Code:
Sub UpdateWeekly()
Application.ScreenUpdating = False
Dim i, ofst As Integer
Dim frm, dst As Range
Set frm = Sheets("Weekly").Range("K5:BDI6")
Set dst = frm.Offset(2, 0)
frm.Replace "=", "#"
ofst = 8
For i = 1 To 2 'Sheets("Names").Range("A" & Rows.Count).End(xlUp).Row
dst.Value = frm.Value
dst.Replace "8", ofst + 6
dst.Replace "9", ofst + 7
dst.Replace "#", "="
ofst = ofst + 6
Set dst = dst.Offset(2, 0)
Next i
frm.Replace "#", "="
Application.ScreenUpdating = True
End Sub
Any ideas on why this is happening?