View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Amy[_5_] Amy[_5_] is offline
external usenet poster
 
Posts: 1
Default Finding and moving hypens from end to beginning of cell

Hi,

I want to be able to find and change all ###- entries
into -### in a worksheet (or a selected range). i.e. Move
the hyphen from the end of the cell to the beginning
(negative number) and remove any spaces that may be at the
beginning or end of the cell.

Thanks for any help.

Example
123-(space) change to -123
(space)234- -234
12-%(space) -12%
(space)-(space) leave as is or remove spaces