+ Reply to Thread
Results 1 to 4 of 4

elliminate commas, semicolons, colons, etc. from a string

  1. #1
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    elliminate commas, semicolons, colons, etc. from a string

    If I have a string that is kept strictly within VBA that goes something like this:

    "This, here: is; my string"

    what is the most efficient way to eliminate commas, semicolons, and colons and convert it to "This here is my string"?

    I just need VBA, not a formula.

    Thanks
    You either quit or become really good at it. There are no other choices.

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,592

    Re: elliminate commas, semicolons, colons, etc. from a string

    Few ways.
    e.g
    Please Login or Register  to view this content.

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: elliminate commas, semicolons, colons, etc. from a string

    Here's an ALL CAP version of jindon's REPLACEMETHOD :

    Please Login or Register  to view this content.

  4. #4
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: elliminate commas, semicolons, colons, etc. from a string

    Try

    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

+ 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. Remove numerous trailing commas from text string that contains commas
    By JenSven1 in forum Outlook Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2016, 10:19 PM
  2. Replies: 1
    Last Post: 05-23-2016, 11:05 AM
  3. Basic find and replace macro for commas and semicolons
    By Jacc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-30-2012, 11:32 AM
  4. Replies: 5
    Last Post: 09-11-2012, 08:40 AM
  5. Excel (2010) Macro to extract string between semi colons
    By merrener in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2012, 04:01 AM
  6. Difference colons vs. commas in functions
    By Micdis in forum Excel General
    Replies: 5
    Last Post: 03-16-2012, 09:31 PM
  7. help with semicolons and commas
    By madona33 in forum Excel General
    Replies: 3
    Last Post: 11-02-2011, 06:31 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