View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Looker Looker is offline
external usenet poster
 
Posts: 1
Default sendmail to variable


I need to send mail to a user whose value is in row E41
but cannot get it to work
can this be done?

ActiveWorkbook.SendMail Recipients:=Range("E41").Value,
Subject:=(Range("A8").Value) & "-" & (Range("D22").Value) & Format(Date,
"yyyy-mm-dd") ActiveWindow.Close SaveChanges:=False
--
NO SPAM
remove X from Xname@Xdomain