andrewb90
Well-known Member
- Joined
- Dec 16, 2009
- Messages
- 1,077
Hello all,
I get a "Compile Error - Wrong number of arguments or invalid property assignments" every time I try to run my code. I've been changing this little section, and I feel like I must have missed something little that is causing my error.
Thanks,
Andrew
I get a "Compile Error - Wrong number of arguments or invalid property assignments" every time I try to run my code. I've been changing this little section, and I feel like I must have missed something little that is causing my error.
Code:
Else Gmail "email@gmail.com", "password", "", _
"o> " & vbNewLine & Sheets("Print").Range("AH4") & vbNewLine & Sheets("Print").Range("AH5"), _
vbNewLine & Sheets("Print").Range("AH6") & " " & Sheets("Print").Range("AI6") & " " & Sheets("Print").Range("AJ6").Value & " " & Sheets("Print").Range("AK6") & " " & Sheets("Print").Range("AL6").Value, _
vbNewLine & Sheets("Print").Range("AH7") & " " & Sheets("Print").Range("AI7") & " " & Sheets("Print").Range("AJ7").Value & " " & Sheets("Print").Range("AK7") & " " & Sheets("Print").Range("AL7").Value, _
sTo, _
"1@2.3", _
pdf
End If
Thanks,
Andrew