Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook - insert new row(vba)

Status
Not open for further replies.

diezzz

Technical User
Oct 11, 2006
28
HU
Hello,

This is a lil stupid question, i don't know why it didn't work so far. I'm buildint mail templates and i can't get to insert a new row after hello, or before best regards.

I've tried like this, no ideea why it dosen't work, i'm using Outlook 2000 :

"Hello" _

& "Thank you for " _

"Best regards".

Also i was wondering if i can insert the signature in my mail, using vba.

Thanks
 
Chr(10) worked just fine, thanks alot.

One more question, how can i change the "from" in the message? I want to send the message from a commun adress. So instead of diezz@service.com, i would like to send the mail from diezcompany@service.com. What's the code i should add?
 
Also, another problem,

I have 2 modules, module Dad and module Mom.

I ve added both the modules on the Outlook bar, dad works fine but mom gives me an error, he couldn't find the project named Mom. Still, the project contains both mom and dad.

Any ideea:p?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top