I am sending an email with a application, and am trying to use a 'And' Operator but it is not working.
Code:
If KeyCheck.Checked = True Then
    oMsg.Body += "Requested Peripherals: Key"
ElseIf SledCheck.Checked - True Then
    oMsg.Body += "Requested Peripherals: Sled"
ElseIf KeyCheck.Checked = True And SledCheck.Checked = True Then
    oMsg.Body += "Requested Peripherals: Key and Sled"
End If
The top 2 work fine when its just Key or Sled, but the one with the And is not, will just output 'Key'
Thanks in advance.
Note: I also tried andalso
 
     
     
    