Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I feel like this should be simple but I've searched all I can think of to do it correctly but can't find a answer. I just want a if statement to check to see if the first character is correct and show a message box and set a parameter if it's not.
I'm getting a 1-dimensional array of String' error
ID_1_CHAR = IDTAG Dim oID1 = Left((ID_1_CHAR), 1) If oID1 <> {"H" Or "V" Or "H"} Then MessageBox.Show("First character must be M, H or V", "Incorrect Input") IDTAG = "H1234" End If
Thanks in advance.
Solved! Go to Solution.