Select error

Robban

New Member
Licensed User
Longtime User
Trying to convert some of my vb code and got stuck.

The code:

Select Temp

Case 300 To 399.9999999999
Sim = 43000

Case 400 To 499.9999999999
Sim = 36000

End Select

Getting:

Error compiling program.
Error description: ',' expected.
Occurred on line: 353
Select Temp
Word: select

Think it has to be the word "to" that is the problem.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…