OK, I am probably overlooking something really simple here, but...
Here is something similar to want I want to do:
Dim strMsg As String
Dim strTitle As String
Dim strOptions As String
Dim intReturn As Integer
strTitle = "Test"
strMsg = "blah blah blah"
strOptions = "vbOKCancel + vbExclamation"
intReturn = MsgBox(strMsg, strOptions, strTitle)
How can I get the string strOptions to be interpreted as:
vbOKCancel + vbExclamation
and not:
"vbOKCancel + vbExclamation" <- which of course causes a type mismatch error.
Thx,




Reply With Quote