I know there has to be a way:
I need help getting any hot excel module/trick/script/macro that would look at a range of IPs and give me the next address up?
e.g.
(192.168.1.128) –> (192.168.1.129)
Not sure i need sub nets, but will throw it out there as well.
( 192.168.1.255) –> ( 192.168.2.1)
I bet is has to be done with vbscript and quick and dirty tutorials on how to implement this would be stellar
Thanks in advance~
EDIT:
excel column D has 192.168.1.1 which was manually entered
excel column E should have 192.168.1.2
I want to avoid someone manually entering that
what is the best way to accomplish this?
you need to split your ip address in blocks
This does not account subnets however, this is much trickier to implement because you need bitmasks. If you stick to multiples of 8 bits masks this shouldn’t be too complicated to handle.
8 bits masks range from 1-255 for each block.
Just check if
then handle it properly
EDIT
to read data from a cell in excel simply change
to