Hi can someone please tell me code to use in column B if I want Column B to be same as column A but with all the characters in reverse order?
Hi can someone please tell me code to use in column B if I want Column B to be same as column A but with all the characters in reverse order?
How many characters will the cells in column A have?
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
the cells contain random words so anywhere from 1 to 20 would be a good limit1
Im not sure how this macro works from the link. It doesnt make sense to me:
Please Login or Register to view this content.
Last edited by contextions; 04-18-2016 at 01:24 AM.
The macro that Alan suggested can be executed on a cell with data. That data will be reversed.
I think what you want can be found here:
https://www.extendoffice.com/documen...ord-order.html
Here are the directions that it will provide.
1. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.
2. Click Insert > Module, and paste the following macro in the Modulewindow.
Formula:Please Login or Register to view this content.
3. And then save and close this code, go back to the worksheet, and enter this formula: =reversestr(A2) into a blank cell to put the result, see screenshot:
@contextions
Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.
Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.
Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
(This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks