Programatically sending a sheet through Outlook
Thanks, that sorted the saving the sheet but I now get a subscript out of
range at:
Set wb2 = Workbooks.Open(wbname)
With wb2
..SendMail Sheets("mysheet").Range("j1").Value, _
"This is the Subject line"
J1 is a formula which uses concatenate to produce the required email address
Regards
Mark
"Tony Steane" wrote in message
om...
Try changing the wbname = "C=:/" & etc....
to
wbname = "C:\" & etc
ie No = (equals sign) and us the backslash.
Cheers
Tony
|