dilleyo725
Board Regular
- Joined
- Jan 31, 2006
- Messages
- 65
Hello,
I'm trying to run a macro to delete blank values before and after data that I copied (from our online system) and pasted into excel, however it will not work. I've tested on values that I've manually entered in and put spaces before and after and it seems to run fine, which leads me to believe that the code works fine. Is there something in the data from copying from the web and pasting into excel that's causing the problem?
I also tried clearing all formats and also tried using a trim function but still no luck.
Also, does anyone have a macro to remove blank spaces from uneven data strings?
I appreciate any help on this.
edit: I just tested it on my computer at home, using Excel 2007, and it seems to be working. Would the macro code be different for different versions of excel?
I'm trying to run a macro to delete blank values before and after data that I copied (from our online system) and pasted into excel, however it will not work. I've tested on values that I've manually entered in and put spaces before and after and it seems to run fine, which leads me to believe that the code works fine. Is there something in the data from copying from the web and pasting into excel that's causing the problem?
I also tried clearing all formats and also tried using a trim function but still no luck.
Also, does anyone have a macro to remove blank spaces from uneven data strings?
I appreciate any help on this.
edit: I just tested it on my computer at home, using Excel 2007, and it seems to be working. Would the macro code be different for different versions of excel?
Last edited: