D
Dave Mills
I have a spreadsheet with a list of computer names in it. I need to sort the
rows by names but the names have a "-" in them. So in VBA I replace all the "-"
with "{=}", sort the rows and then replace the "{=}" with "-". This works like a
charm except when a Computer is named something like "SEP-01" the second replace
produces a value that is interpreted as a date and the name get stored as
01-Sep.
Any idea how I can get round this.
rows by names but the names have a "-" in them. So in VBA I replace all the "-"
with "{=}", sort the rows and then replace the "{=}" with "-". This works like a
charm except when a Computer is named something like "SEP-01" the second replace
produces a value that is interpreted as a date and the name get stored as
01-Sep.
Any idea how I can get round this.