![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 7
|
Tom
Thanks for your response I was not specific enough in my needs; I want to delete spaces before and after a text but I don't want to delete spaces inside the text; for instance, for cost of product, I want all the spaces before and after deleted but not the ones between cost and of and of and product Thanks |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: San Francisco, California USA
Posts: 10,383
|
Would the TRIM function help then? Something like
=TRIM(A1) Then you can copy it down, and paste special values over the formula'd range. Would that work? Tom Urtis |
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Posts: 7
|
Tom
Yes it works Thanks |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|