WaterSprite
Technical User
The following code works:
Dim aa7 as string, aa8 as string
aa7 = "Maintenance Notified:"
aa8 = Inputbox(Maintenance Notified, Enter Yes, or No")
if aa8 = "yes" then cells(8,2) = aa7 & chr(32) & aa8
This code does not work:
Dim aa7 as string, aa8 as string
aa7 = "Maintenance Notified:"
aa8 = Inputbox(Maintenance Notified, Enter Yes, or No")
select case aa8
case is = "yes"
cells(8,2) = aa7 & chr(32) & aa8
end select
In the version using select case, the value in the variable aa8 does not seem to be "Seen" and the cursor goes straight to end select. I do not understand how the value in aa8 can be seen one time and not in the other.