You can just use Replace to remove spaces.
I think Jimmy wants the individual parts of the IP address to be used in other called routines. He doesn't say.
So they should also be defined as Global variables.
_________________________
Bill