Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
I am a new Excel user and I am having some trouble. I split a column of data
seperated by semicolons into several columns. Now I have a bunch of cells with a leading space and it is screwing things up when i try to sort alphabetically. How can i create a macro do delete the leading space in cells that have such a space?? |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
The TRIM() function will do exactly what you want
-- Gary''s Student "ALoecher" wrote: I am a new Excel user and I am having some trouble. I split a column of data seperated by semicolons into several columns. Now I have a bunch of cells with a leading space and it is screwing things up when i try to sort alphabetically. How can i create a macro do delete the leading space in cells that have such a space?? |
#3
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
I feel dumb but I cannot figure out how to automate the TRIM function to get
rid if the spaces in all the cells "Gary''s Student" wrote: The TRIM() function will do exactly what you want -- Gary''s Student "ALoecher" wrote: I am a new Excel user and I am having some trouble. I split a column of data seperated by semicolons into several columns. Now I have a bunch of cells with a leading space and it is screwing things up when i try to sort alphabetically. How can i create a macro do delete the leading space in cells that have such a space?? |
#4
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Select them all and Find and Replace, Ctrl-H, and replace " " with nothing
-- HTH Bob Phillips (remove nothere from the email address if mailing direct) "ALoecher" wrote in message ... I feel dumb but I cannot figure out how to automate the TRIM function to get rid if the spaces in all the cells "Gary''s Student" wrote: The TRIM() function will do exactly what you want -- Gary''s Student "ALoecher" wrote: I am a new Excel user and I am having some trouble. I split a column of data seperated by semicolons into several columns. Now I have a bunch of cells with a leading space and it is screwing things up when i try to sort alphabetically. How can i create a macro do delete the leading space in cells that have such a space?? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Quick Macro question - How to delete two rows then skip one - and repeat | Excel Discussion (Misc queries) | |||
Excel Macro Question | Excel Worksheet Functions | |||
using a macro question revisited | Excel Discussion (Misc queries) | |||
Excel Macro Question about Conditional Formatting | New Users to Excel | |||
Attn: Dave P. Question re Pix Calls via Macro | Excel Discussion (Misc queries) |