+ Reply to Thread
Results 1 to 6 of 6

reverse all characters in every cell of column

  1. #1
    Registered User
    Join Date
    09-23-2008
    Location
    mobile
    MS-Off Ver
    07
    Posts
    43

    Question reverse all characters in every cell of column

    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?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,740

    Re: reverse all characters in every cell of column

    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.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: reverse all characters in every cell of column

    http://excel.tips.net/T002322_Revers..._Contents.html
    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

  4. #4
    Registered User
    Join Date
    09-23-2008
    Location
    mobile
    MS-Off Ver
    07
    Posts
    43

    Re: reverse all characters in every cell of column

    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.

  5. #5
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: reverse all characters in every cell of column

    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: copy to clipboard
    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:

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: reverse all characters in every cell of column

    @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)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Reverse Sum formula in a cell with a Macro to make column consistent...
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2015, 03:29 PM
  2. Replies: 4
    Last Post: 05-26-2013, 05:54 PM
  3. [SOLVED] Delete Characters in a Parenthesis of Every Cell in a Certain Column.
    By aviatecar in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-30-2012, 01:06 PM
  4. [SOLVED] Reverse and Squish/Merge Data into one cell/column
    By Hyflex in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-19-2011, 11:13 AM
  5. Reverse Data In A Cell / Reverse Cell Contents
    By nostawydoc in forum Excel General
    Replies: 5
    Last Post: 12-18-2009, 05:20 PM
  6. Get max characters in cell in 1 column
    By fbonilla in forum Excel General
    Replies: 3
    Last Post: 02-28-2006, 06:45 PM
  7. Replies: 7
    Last Post: 12-14-2005, 11:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1