+ Reply to Thread
Results 1 to 10 of 10

remove "*" from the start of a string

  1. #1
    Forum Contributor
    Join Date
    11-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Office 2007
    Posts
    212

    remove "*" from the start of a string

    We have a program that generates a text file where some of the names start with the * symbol. I would like to remove all of them so I can alphabetize the list, but if I try to use "Find and Replace" it clears everything (I am guessing Excel uses * as a wild card?). Is there a way to do this, or do I need the programmers to change the symbol they use? If we change the symbol would the dollar sign be safe to use?
    "Laugh? I thought I'd die!"

    Jimbo?

  2. #2
    Banned User!
    Join Date
    03-06-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    295

    Re: remove "*" from the start of a string

    sort the column and remove the range is the easiest way

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: remove "*" from the start of a string

    Try a Find/replace with ~*
    Find ~*
    Replace nothing
    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

  4. #4
    Banned User!
    Join Date
    03-06-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    295

    Re: remove "*" from the start of a string

    Sorry I want this removed it was meant for another topic.
    Last edited by billgyrotech; 01-06-2017 at 05:50 PM.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: remove "*" from the start of a string

    Billy, what do you want removed?

  6. #6
    Banned User!
    Join Date
    03-06-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    295

    Re: remove "*" from the start of a string

    I posted a formula to remove duplicate rows. It was for another topic sorry.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: remove "*" from the start of a string

    You mean post #2?

  8. #8
    Banned User!
    Join Date
    03-06-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    295

    Re: remove "*" from the start of a string

    No I already edited it out. One of those days sorry for the trouble.

  9. #9
    Forum Contributor
    Join Date
    11-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Office 2007
    Posts
    212

    Re: remove "*" from the start of a string

    FDibbins - That was exactly what I needed!! Thank you very much!

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: remove "*" from the start of a string

    @ Bill no problem

    @ Jim, awesome, happy to help, thanks for the feedback

+ 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. replace all defined range names in the sheet that start with "Street" to "Road"
    By matrex in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-04-2016, 08:53 AM
  2. How can i remove remove the last "?" from a cell/url string?
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-21-2015, 02:13 PM
  3. Replies: 1
    Last Post: 08-15-2014, 06:00 AM
  4. [SOLVED] VBA help needed to remove all "/" then replace with "-" from cell "B3"and "B5"
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-17-2014, 02:11 PM
  5. Countdown Timer in Excel with a "pause" and "start" button
    By bbhagwat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2013, 05:49 AM
  6. [SOLVED] UDF to remove "equivalent" expressions from a ";" delimited string
    By dredwolf in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-08-2012, 07:25 PM
  7. Macro to trim a cell and remove string "THRU"
    By Rocker7 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2010, 01:24 AM

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