Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
delete ghost spaces
Got this code....
Doesnt always work for some reason. Any alternate way to put this? (Or is something wrong with it?) Sub eat_spaces() Dim c As Range Application.ScreenUpdating = False Application.Calculation = xlCalculationManual For Each c In Range("G2:T1500") c = Replace(c, " ", "") Next Application.ScreenUpdating = True Application.Calculation = xlCalculationAutomatic End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Delete spaces | Excel Discussion (Misc queries) | |||
delete spaces | Excel Programming | |||
how do I delete the last two spaces in a cell | Excel Discussion (Misc queries) | |||
Ho to Delete "Ghost" Pivot Tables | Excel Discussion (Misc queries) | |||
delete spaces | Excel Worksheet Functions |