So I am trying to use the Cells object to store a string and I keep getting an application error:
Sub analyze()
Dim rC As Integer
Dim rtData As Worksheet
Set rtData = ThisWorkbook.Sheets("RTN Data")
Dim finalSht As Worksheet
Set finalSht = ThisWorkbook.Sheets("Final")
Sheets("Final").Cells(1, 1).Text = "order#"
finalSht.Cells(0, 2) = "Nurse"
finalSht.Cells(0, 3) = "Message"
rC = rtData.Cells(rows.Count, 1).End(xlUp).Row
End Sub
Regardless of the different ways i keep trying to reference it
Please help.