PrinterLabel = Printer + PrinterNumber
If Floors = 1 And (PrinterLabel) > 127 Then
Wscript.Echo "Invalid Printer11 Selection "
Wscript.Quit
End If
If Floors = 2 And PrinterLabel > 220 Then
Wscript.Echo "Invalid Printerss Selection "
Wscript.Quit
End If
The problem is that PrinterLabel is a String and I want to convert it to an Int and compare it.
The PrinterLabel is a String that is also a number "218"
Any suggestions?