need your help with the code. The code below is working fine. It prints every control on email. No problem. I have let say 10 controls, and all of them will be printed
I do not want everything, want only some, let's say only three of them. How to exclude those that I do not need. May be by name, let's say I do not want REcID and Category,
or I like to have only with the index 1,4,7,9.
Dim ctl As Control
Dim strBody As String
For Each ctl In Me.Controls
strBody = strBody & ctl.Name & " : " & ctl.Value & "<BR>"
SendHTMLEmail Me.SEmail, "Follow-Up Item", strBody, False
Me.SendMark.Value = "Yes"