M
mattc66 via AccessMonster.com
I have the following message box code. I want to set it up so it can shrink
or grow depending on the data.
Would I use an If statment. If the MyStr... are blank I don't want them in
the message.
MsgBox "The following Feilds are blank." _
& vbCr & vbCr & MyStr1 & "" _
& vbCr & vbCr & MyStr2 & "" _
& vbCr & vbCr & MyStr3 & "" _
& vbCr & vbCr & MyStr4 & "", vbOK, "Missing Date"
or grow depending on the data.
Would I use an If statment. If the MyStr... are blank I don't want them in
the message.
MsgBox "The following Feilds are blank." _
& vbCr & vbCr & MyStr1 & "" _
& vbCr & vbCr & MyStr2 & "" _
& vbCr & vbCr & MyStr3 & "" _
& vbCr & vbCr & MyStr4 & "", vbOK, "Missing Date"