View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
HarryisTrying HarryisTrying is offline
external usenet poster
 
Posts: 22
Default Validate IP Address

I have a spreadsheet that contains IP addresses for computers on a network.
I desire to look at each IP and see if it is valid using a macro.
A valid IP address is a number from 0 to 255 and has four octets seperated
by a . (period). For example 123.234.255.231

I have tried with functions and macros and can get some results for the
first two octets but can't seem to get any farther.

If you know how to do this your help will be greatly appreciated. Using
Excel 2003 & 2007
--
Thank You