I have been running this code successfully, for a while now. For some reason it just started throwing this error code:
Run-time error '1004':
Method 'Range' of object'_Global' failed
Sub New_Associate()
Dim NextRow As Range
Set NextRow = Range("A1" & Sheets("Helper").UsedRange.Rows.Count + 1)
Sheets("New Associate Entry").Range("C2:C7").Copy
Sheets("Helper").Activate
NextRow.PasteSpecial Paste:=xlValues, Transpose:=True
Application.CutCopyMode = False
Set NextRow = Nothing
End Sub
I'm not sure what's causing the error, any help in solving would be appreciated. Only thing I see that makes me wonder is, the page the data is stored on, just reached line 100.
I am running Excel 2016
Run-time error '1004':
Method 'Range' of object'_Global' failed
Sub New_Associate()
Dim NextRow As Range
Set NextRow = Range("A1" & Sheets("Helper").UsedRange.Rows.Count + 1)
Sheets("New Associate Entry").Range("C2:C7").Copy
Sheets("Helper").Activate
NextRow.PasteSpecial Paste:=xlValues, Transpose:=True
Application.CutCopyMode = False
Set NextRow = Nothing
End Sub
I'm not sure what's causing the error, any help in solving would be appreciated. Only thing I see that makes me wonder is, the page the data is stored on, just reached line 100.
I am running Excel 2016