Thread: LTRIM Problem
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
mtsark mtsark is offline
external usenet poster
 
Posts: 9
Default LTRIM Problem

Thanks guys I modified to code to the following and it worked great.

Sheets("Raw Projections").Range("U6:U500").Select
Selection.Replace What:=Chr(160), Replacement:=Chr(32), LookAt:=xlPart, _
SearchOrder:=xlByColumns, MatchCase:=False
For Each Rng In ActiveSheet.Range("U6:U500")
Rng.Value = LTrim(Rng.Value)
Next Rng