+ Reply to Thread
Results 1 to 4 of 4

text to column stopped working as expected

  1. #1
    Registered User
    Join Date
    08-12-2022
    Location
    Brisbane, Queensland
    MS-Off Ver
    Office 365
    Posts
    6

    text to column stopped working as expected

    I have a line of code for text to column with comma as the delimiter.

    Please Login or Register  to view this content.

    A month ago this was working as expected. Although now it also appears to be including space as a delimiter.

    For example, when it was working the following text:

    text to column start.JPG

    would be converted to:

    text to column correct.JPG

    Although now it appears to be also including space as a delimiter and is converting it to:


    text to column incorrect.JPG


    Why is it all suddenly including space as a delimiter? has there been any updates which would default the space delimiter to True?

    Should I also include space:=false in the code?



    Regards

    Glenn

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,037

    Re: text to column stopped working as expected

    Excel often "remembers" previous options. It is, therefore, good practice to explicitly state which options you want and which you don't. You should also tick "treat two options as one".

    Record a macro while you manually use Text to Columns and use the recorded code in the future.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,280

    Re: text to column stopped working as expected

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important: https://excelguru.ca/a-message-to-forum-cross-posters/

    (Note: this requirement is not optional. As you are relatively new here, I shall do it for you this once: https://www.mrexcel.com/board/thread...rking.1240230/)
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,037

    Re: text to column stopped working as expected

    Thanks Ali, somwe're done here.

    @GlennW81: If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. [SOLVED] Column tally stopped working when extending the table manually.
    By jitterbug888 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-26-2021, 06:17 AM
  2. Match Column formula not working as expected
    By Moggzy in forum Excel General
    Replies: 1
    Last Post: 09-20-2019, 04:04 AM
  3. [SOLVED] VBA Copy Text to Clipboard has stopped working for me
    By slbrick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-21-2019, 12:03 PM
  4. Column autofit stopped working
    By kadeo in forum Excel General
    Replies: 1
    Last Post: 01-27-2016, 10:45 AM
  5. [SOLVED] FORMAT not working for Date to text as expected
    By JimSnyder in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2013, 05:30 PM
  6. Why has the text autoprompt stopped working?
    By ddub25 in forum Excel General
    Replies: 1
    Last Post: 10-15-2009, 07:46 PM
  7. text to speech stopped working in excel
    By helpmax in forum Excel General
    Replies: 1
    Last Post: 01-27-2005, 01:06 AM

Tags for this Thread

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