View Single Post
  #10  
Old 01-24-2019, 01:39 PM
ekoranyi ekoranyi is offline
VanDyke Technical Support
 
Join Date: Jan 2017
Posts: 654
BjoernH,

It appears that you're trying to supply a range in your if statement. I haven't seen that syntax used before, can you point me to some documentation on its use?

Generally I see ranges with the syntax:
Code:
If strMyVal >= 5 And strMyVal <= 20 Then
In your case this would be a little more complex, you won't be able to use the full IP address. You may be able to use the Split function to split the IP and capture only the last octet. You could then compare against the value of the last octet.
__________________
Thanks,
--Eric

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote