Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2018, 10:32 AM
LearnerExcel LearnerExcel is offline How to remove trailing & leading spaces in a cell? Windows 7 32bit How to remove trailing & leading spaces in a cell? Office 2003
Advanced Beginner
How to remove trailing & leading spaces in a cell?
 
Join Date: Nov 2016
Posts: 82
LearnerExcel will become famous soon enoughLearnerExcel will become famous soon enough
Default

Actually, I need the following things to be done when I click on any column and run a macro.

Remove trailing & leading spaces


Remove spaces before and after the dash/minus sign "-"
No single space is required inside the brackets "()"
Single space is required in front of bracket
Attached Files
File Type: xlsm RemoveSpacesQuery.xlsm (9.7 KB, 11 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I remove spaces between only Chinese characters? sivartnosredna7 Word 2 01-09-2017 05:33 AM
How to remove spaces from Cells which are at the end of value? LearnerExcel Excel 2 12-19-2016 01:10 PM
How to remove trailing & leading spaces in a cell? Mail Merge - Trailing Spaces osucjb Mail Merge 5 10-28-2016 12:03 AM
Get rid of leading spaces before paragraphs fig000 Word 11 03-14-2016 01:59 PM
editing text and remove spaces romanticbiro Word VBA 5 07-04-2014 07:42 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:42 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft