anand_b6802
New Member
- Joined
- Apr 15, 2016
- Messages
- 3
Hello guys,
i need to attach excel file to outlook via VBA.
example
A2-subject line
B2-mail id to
c2-mail id cc
D2-excel path which i want attach
in my VBA code wrote as
.attachment.add(range("D2").value
but above code doesn't working.
can any one tell me what would be code for attach excel file.
thank you in advance.
i need to attach excel file to outlook via VBA.
example
A2-subject line
B2-mail id to
c2-mail id cc
D2-excel path which i want attach
in my VBA code wrote as
.attachment.add(range("D2").value
but above code doesn't working.
can any one tell me what would be code for attach excel file.
thank you in advance.