I use the code below to send emails from excel. I am trying to enter code on the LastRow line so excel will go to the last cell in the sheet instead of me having to specify the lastrow in the spread sheet that contains data.
Thank you
Jill
Set Sht = Worksheets("TEST")
FirstRow = 2
LastRow = 250 ' Eventually I will Insert code here to find the last row in the clients list
For x = FirstRow To LastRow
SendTo = Sht.Range("B" & x).Value
If Len(SendTo) > 0 Then
Esubject = Sht.Range("C" & x).Value
Thank you
Jill
Set Sht = Worksheets("TEST")
FirstRow = 2
LastRow = 250 ' Eventually I will Insert code here to find the last row in the clients list
For x = FirstRow To LastRow
SendTo = Sht.Range("B" & x).Value
If Len(SendTo) > 0 Then
Esubject = Sht.Range("C" & x).Value