C
Chris
I'm trying to send mail using the .Send method of the CDO.Message object (I
don't want to use doCmd.SendObject because of known issues and because I
want to add other attachments). I want to present the message dialog box
for the user to modify as needed, so thus need to set the second parameter
(of all three optional parameters) of the .Send method to 'true'. I keep
getting "wrong number of arguments or invalid property value assignment"
when I try to set this. E.g., ".Send ,True", ".Send False,True", ".Send
False,True,", ".Send 0,-1", etc. are all failing. What am I doing wrong? I
have otherwise had great success with using CDO in VBA. I believe I'm
setting these parameters correctly per MSDN documentation at:
http://msdn.microsoft.com/library/d...ry/en-us/cdo/html/_olemsg_overview_of_cdo.asp
don't want to use doCmd.SendObject because of known issues and because I
want to add other attachments). I want to present the message dialog box
for the user to modify as needed, so thus need to set the second parameter
(of all three optional parameters) of the .Send method to 'true'. I keep
getting "wrong number of arguments or invalid property value assignment"
when I try to set this. E.g., ".Send ,True", ".Send False,True", ".Send
False,True,", ".Send 0,-1", etc. are all failing. What am I doing wrong? I
have otherwise had great success with using CDO in VBA. I believe I'm
setting these parameters correctly per MSDN documentation at:
http://msdn.microsoft.com/library/d...ry/en-us/cdo/html/_olemsg_overview_of_cdo.asp