Forum Discussion
hussein_elsayed
Jun 27, 2022Brass Contributor
Excel help
Dears, Could you please help me regarding the attached sheet as i want to send a recurrent email to every employee with his salary through the excel. N.B: Sheet password 123 Thanks
- Jun 28, 2022
The sample workbook has column V for email address. The code checks that this column is not empty:
If ws1.Range("V" & r).Value <> "" Then
So it should not create an email message for rows that have no email address.
hussein_elsayed
Jun 28, 2022Brass Contributor
thank you it works will, but for the embty emails it send an emails for them with the first.
is there any way to send the line that including emails only
is there any way to send the line that including emails only
HansVogelaar
Jun 28, 2022MVP
The sample workbook has column V for email address. The code checks that this column is not empty:
If ws1.Range("V" & r).Value <> "" Then
So it should not create an email message for rows that have no email address.
- hussein_elsayedJun 29, 2022Brass Contributor
Dear Mr. Hans,
Could you please help me for the attached issue as i did some modification in the master data sheet (adding culumns and rearrange some of them) but it shows error when i tried to run the macro.
and sorry for send my issue in a private message.
Thanks in advance
- HansVogelaarJun 29, 2022MVP
See the attached version.
- hussein_elsayedJun 29, 2022Brass ContributorThank you Mr. Hans it works well.
Could you please show me where are the mistakes as i just change the new column for the Email
in the code screen
- hussein_elsayedJun 28, 2022Brass ContributorThank you Mr. Hans