YasserKhalil Well-Known Member Dec 2, 2019 #51 Thanks .. But using the Trim doesn't fix that Code: .Value2 = Application.Trim(v) Is there a way to fix the output as appeared in Post #46?
Thanks .. But using the Trim doesn't fix that Code: .Value2 = Application.Trim(v) Is there a way to fix the output as appeared in Post #46?
shrivallabha Excel Ninja Dec 2, 2019 #52 YasserKhalil said: Thanks .. But using the Trim doesn't fix that Code: .Value2 = Application.Trim(v) Is there a way to fix the output as appeared in Post #46? Click to expand... TRIM will reduce more than one spaces to one when they exist between words and it will remove all extra spaces if they are preceding or trailing the string. If there's one space remaining between words then applying TRIM won't result in anything. Last edited: Dec 3, 2019
YasserKhalil said: Thanks .. But using the Trim doesn't fix that Code: .Value2 = Application.Trim(v) Is there a way to fix the output as appeared in Post #46? Click to expand... TRIM will reduce more than one spaces to one when they exist between words and it will remove all extra spaces if they are preceding or trailing the string. If there's one space remaining between words then applying TRIM won't result in anything.
Marc L Excel Ninja Dec 2, 2019 #53 YasserKhalil said: But using the Trim doesn't fix that Click to expand... I can't reproduce any of your issues on my side as all well work …
YasserKhalil said: But using the Trim doesn't fix that Click to expand... I can't reproduce any of your issues on my side as all well work …