cell value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I get a cell value - I want to use the text in P3 for the subject line in an email using .sendmail "address@address", cell P3 text her

THANKS
 
Hi bob

For more examples visit my website

Use a cell containing an email-address like this
..SendMail Sheets("mysheet").Range("a1").Value, _
"This is the Subject line"

Use also a cell for the subject like this.
..SendMail Sheets("mysheet").Range("a1").Value, _
Sheets("mysheet").Range("b1").Value
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top