Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
LTRIM Problem
I am trying to trim the leading spaces from all text in Column U.
I have have the following code but when I run it nothing happens (the leading spaces are still there). I've tried both LTRIM and TRIM but neither seems to work. What am I missing? Dim Rng as Range Sheets("Raw Projections").Select For Each Rng In ActiveSheet.Range("U6:U500") Rng.Value = LTrim(Rng.Value) Next Rng Matt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Started out as an Access problem. Now an Excel problem | Excel Discussion (Misc queries) | |||
I can't seem to use RTRIM or LTRIM in Excel 2002. I want to trim. | New Users to Excel | |||
How do I apply LTRIM to entire Sheet? | Excel Programming | |||
Problem when multipple users access shared xl-file at the same time, macrocode for solve this problem? | Excel Programming | |||
LTrim | Excel Programming |