Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Dave,
If you're looking for a simple worksheet formula then SUBSTITUTE should work. For your example write in a cell: =SUBSTITUTE(G3," ","") If you're using VBA then lookup the REPLACE method in the VBA help, that should work for you. Sean. "Dave Birley" wrote: First, I have a confession to make: I actually searched the available answers first (using search text: "remove space from text in cell"). Nothing there fit my simpler problem: Cell G3 contains "Herkimer, Mortimer". I need to get rid of that space ("Herkimer,Mortimer") becaise I am about to search with the result into a different WB where the data is stored without spaces. My bet is that there's a really simple function for this <g! -- Dave Temping with Staffmark in Rock Hill, SC |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I remove extra space when text wrapping? | Excel Worksheet Functions | |||
How do I remove extra space when text wrapping? | Excel Discussion (Misc queries) | |||
How do I remove a space infront of text in a cell? | Excel Discussion (Misc queries) | |||
Remove Space in Text | Excel Discussion (Misc queries) | |||
Function to remove a space from text in cell WITHOUT macro?? | Excel Worksheet Functions |