I am trying to format an entire column as a zip code with VBA. I know this can be done by selecting Special --> Zip Code from the numbers drop down. Is this something that the .NumberFormat function supports in VBA?
I tried this with no luck:
Sheets("Sheet1").Columns(2).NumberFormat = "Zip Code"