Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Bernie,
Thanks for responding. I was only wanting to remove spaces padded at the end of a string so Trim is going to work fine for me. I did find my problem (and I've decided that when I work late at night I'm not as good at diagnosing issues). My code statements were more complex than the samples in my OP and I was trying to do multiple operations in one statement and that caused some confusion. It turns out that I was doing the Replace and the Trim in the wrong order. If Trim is done first and if the last character of the string is chr(160) nothing is changed in the string and since Trim does not act on chr(160) then Trim results in no change. John Keith |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Trim and Substitute not working | Excel Worksheet Functions | |||
Excel 2002 : Why =Trim () formula not working ? | Excel Discussion (Misc queries) | |||
Trim not working.... | Excel Programming | |||
Excel trim not working | Excel Discussion (Misc queries) | |||
Trim not working | Excel Programming |