Dim Sht As Worksheet
Dim FirstRow As Integer, LastRow As Integer
Dim App, Itm
Dim SendTo As String, Esubject As String, Ebody As String
Dim Attachment1 As String
Dim Attachment2 As String
Set Sht = Worksheets("Sheet1"
FirstRow = 2
LastRow = 5000 ' You could insert code here to find last row
For x = FirstRow To LastRow
SendTo = Sht.Range("D" & x).Value
If Len(SendTo) > 0 Then ' Make sure there is data in this row
Esubject = Sht.Range("E" & x).Value
Ebody =
The above is part of the code that I use to email from EXCEL. The only problem is that in the (Ebody=) part I am limited to certain numbers of characters. How can I expand the capacity of the (Ebody=) so I can add more characters.
Thanks
Jill
Dim FirstRow As Integer, LastRow As Integer
Dim App, Itm
Dim SendTo As String, Esubject As String, Ebody As String
Dim Attachment1 As String
Dim Attachment2 As String
Set Sht = Worksheets("Sheet1"
FirstRow = 2
LastRow = 5000 ' You could insert code here to find last row
For x = FirstRow To LastRow
SendTo = Sht.Range("D" & x).Value
If Len(SendTo) > 0 Then ' Make sure there is data in this row
Esubject = Sht.Range("E" & x).Value
Ebody =
The above is part of the code that I use to email from EXCEL. The only problem is that in the (Ebody=) part I am limited to certain numbers of characters. How can I expand the capacity of the (Ebody=) so I can add more characters.
Thanks
Jill