Hi,
as part of a wider macro, I need to remove/trim in column B the last three characters in each cell so that I am only left with the first 12 characters. any ideas on a quick clean looking bit of code to accomplish this.
Thanks,
Craig
Hi,
as part of a wider macro, I need to remove/trim in column B the last three characters in each cell so that I am only left with the first 12 characters. any ideas on a quick clean looking bit of code to accomplish this.
Thanks,
Craig
I know you said VBA (my weak side), but this would do the same in a formula, maybe you can adapt it?
=left(a1,len(a1)-3)
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Since you said you wanted 12 characters I focused on that.
Please Login or Register to view this content.
Stnkynts,
Thanks a lot, that's worked perfectly.
Regards,
Craig
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks