Good afternoon!
I'm stuck....ONCE AGAIN..... I have a spreadsheet that I need to build in the functionality to remove "end of character" blank spaces. For example, if someone enters "Excel " and adds blank spaces at the end rather than "Excel".
The worksheet that I have has a 'validate' macro that users need to run before they can sumbit the data. The validation essentially looks for errors in the worksheet. What I'd like to do is add VB code within the validation macro to remove the "end of character" blank spaces to all cells in the range.
The column range I have is C11:AG11. The problem is that the last row will vary pending how much data the user inputs.
Does anyone have a quick line a code that I could add into my validation macro to accomplish removing "end of character" blank spaces?
Any help you can provide is greatly appreciated!
Phil
I'm stuck....ONCE AGAIN..... I have a spreadsheet that I need to build in the functionality to remove "end of character" blank spaces. For example, if someone enters "Excel " and adds blank spaces at the end rather than "Excel".
The worksheet that I have has a 'validate' macro that users need to run before they can sumbit the data. The validation essentially looks for errors in the worksheet. What I'd like to do is add VB code within the validation macro to remove the "end of character" blank spaces to all cells in the range.
The column range I have is C11:AG11. The problem is that the last row will vary pending how much data the user inputs.
Does anyone have a quick line a code that I could add into my validation macro to accomplish removing "end of character" blank spaces?
Any help you can provide is greatly appreciated!
Phil