Login | |
|
 |
RE: Install a printer based on range of IPs - 5/14/2007 12:42:46 AM
|
|
 |
|
| |
Country73
Posts: 712
Score: 8
Joined: 8/25/2004
From: USA
Status: offline
|
I 'believe' what dm_4ever is trying to say is that you don't need to use the SELECT CASE in your script. Inside of your 'IF / ELSEIF' block, you can add what you have in your SELECT CASE. If (intOct3 >= 1 And intOct3 <= 15) And (intOct4 >= 3 And intOct4 <= 30) Then IP = "x.x.1.a" 'Location = "Location1" '-This line is not needed, it is only for the SELECT CASE Printer = "-Location1" '-This is the only thing you pull from the SELECT CASE, Set this up in the IF / ELSEIF ELSEIF...
|
|
| |
|
|
|
|
|