Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Function to remove a space from text in cell WITHOUT macro??
Hi All,
I have a worksheet which takes values from other worksheets and I use this to export to .csv so that I can script adding users to Novell using JRB utils. The problem I have is that some of our objects have spaces in the name and the utility I use doesn't like that. I'm looking for some info on making this change in the CELL and NOT writing a macro to do it so that others may user this spreadsheet without knowledge of how to run or edit macro's should anything change. Any help appreciated J |
#2
|
|||
|
|||
Check out the substitute function
=substitute(A1," ","") will get rid of all of the spaces in a text field. " wrote: Hi All, I have a worksheet which takes values from other worksheets and I use this to export to .csv so that I can script adding users to Novell using JRB utils. The problem I have is that some of our objects have spaces in the name and the utility I use doesn't like that. I'm looking for some info on making this change in the CELL and NOT writing a macro to do it so that others may user this spreadsheet without knowledge of how to run or edit macro's should anything change. Any help appreciated J |
#3
|
|||
|
|||
There's nothing you can set up, short of creating a macro for your users to
use, that isn't going to require some manual effort on their part. bj's formula will work, but requires entering the formula into an empty cell, copying it as needed, then copying all the formulas and Paste SpeicalValues over top of the original cells - lots of work for your users You can also select all the cells to be changed and do a Find & Replace - replacing spaces with nothing - again requiring your users to take manual steps. "bj" wrote: Check out the substitute function =substitute(A1," ","") will get rid of all of the spaces in a text field. " wrote: Hi All, I have a worksheet which takes values from other worksheets and I use this to export to .csv so that I can script adding users to Novell using JRB utils. The problem I have is that some of our objects have spaces in the name and the utility I use doesn't like that. I'm looking for some info on making this change in the CELL and NOT writing a macro to do it so that others may user this spreadsheet without knowledge of how to run or edit macro's should anything change. Any help appreciated J |
#4
|
|||
|
|||
|
#6
|
|||
|
|||
First, save your data and do this on a backup.........
To delete spaces in the cells in a column, highlight the column, then do Edit Replace Find What: just type a space here Replace with: leave this window blank Replace all........... Vaya con Dios, Chuck, CABGx3 wrote in message ... Hi All, I have a worksheet which takes values from other worksheets and I use this to export to .csv so that I can script adding users to Novell using JRB utils. The problem I have is that some of our objects have spaces in the name and the utility I use doesn't like that. I'm looking for some info on making this change in the CELL and NOT writing a macro to do it so that others may user this spreadsheet without knowledge of how to run or edit macro's should anything change. Any help appreciated J |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
On click, copy text into another cell - XL2K | Excel Worksheet Functions | |||
remove spaces in text in excel | Excel Discussion (Misc queries) | |||
Remove the apostrophe (') in Excel cell text values | Excel Discussion (Misc queries) | |||
Macro or Function to make text size to suite text Length? | Excel Discussion (Misc queries) | |||
Formatting a cell as "text" in the number catagory. | Excel Worksheet Functions |