Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to create a custom numner format for IP addresses?
How to create a custom numner format for IP addresses?
|
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to create a custom numner format for IP addresses?
Selection.NumberFormat = "000.000.000.000"
With selection to be substituted with any Range-object. HTH, CoRrRan PJ wrote: How to create a custom numner format for IP addresses? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to create a custom numner format for IP addresses?
I think you would need "000\.000\.000\.000"
in a country that uses the period as the decimal separator. but even then that will only work correctly if you IP address has 3 digit numbers for the last 9 digits and is entered as a number. s = Replace("144.151.141.30",".","") ? s 14415114130 ? format(s,"000\.000\.000\.000") 014.415.114.130 -- Regards, Tom Ogilvy "CoRrRan" wrote: Selection.NumberFormat = "000.000.000.000" With selection to be substituted with any Range-object. HTH, CoRrRan PJ wrote: How to create a custom numner format for IP addresses? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I create a custom button that combines format settings? | Excel Worksheet Functions | |||
Create custom text format? | Excel Discussion (Misc queries) | |||
Is it possible to create your own custom format? | Excel Discussion (Misc queries) | |||
Create a custom format to convert seconds to minutes. | Excel Discussion (Misc queries) | |||
How can I create custom format cells for Ohms(Ω)?? | Excel Worksheet Functions |