+ Reply to Thread
Results 1 to 7 of 7

Searching a text box for characters and replace.

  1. #1
    Forum Contributor
    Join Date
    05-05-2004
    MS-Off Ver
    Office 365
    Posts
    651

    Searching a text box for characters and replace.

    I would like to search “textbox42” for “—“ (two dashes) and replace it with a Wingdings “w”. i am trying to create the little triangle.

  2. #2
    Forum Contributor
    Join Date
    01-25-2013
    Location
    near Philly, PA USA
    MS-Off Ver
    Excel 2019
    Posts
    178

    Re: Searching a text box for characters and replace.

    Have you tried this for insight:
    https://support.office.com/en-us/art...2-333dead6ae33

  3. #3
    Forum Contributor
    Join Date
    05-05-2004
    MS-Off Ver
    Office 365
    Posts
    651

    Re: Searching a text box for characters and replace.

    Yes I have and when targeting a text box the find replace option is grayed out. I always try to use the record macro option before asking the Forum for help.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,839

    Re: Searching a text box for characters and replace.

    To answer your question:

    Please Login or Register  to view this content.

    But you cannot mix fonts in a textbox. It all has to be the same font. So you cannot insert a Wingdings triangle in the middle of Arial text, for example. (You can do that in a cell, but not a textbox.)

    Edit: I assume you are talking about a textbox control, not a textbox shape.
    Last edited by 6StringJazzer; 06-08-2015 at 09:45 AM. Reason: in blue
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,839

    Re: Searching a text box for characters and replace.

    bob33, "Find or replace text and numbers on a worksheet" applies only to worksheet cells and not textboxes.

  6. #6
    Forum Contributor
    Join Date
    05-05-2004
    MS-Off Ver
    Office 365
    Posts
    651

    Re: Searching a text box for characters and replace.

    Thank you all for the help. Looks like I need to do this manually then.

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,839

    Re: Searching a text box for characters and replace.

    Here's an example using characters available in the Arial character set. You just have to pick a font that is available, and then pick one of the first 255 characters.
    Attached Files Attached Files

+ 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/Strip a set of certain characters from a text string
    By Arjay12345 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-20-2015, 05:06 PM
  2. [SOLVED] find and replace to not replace characters found as wildcards
    By sabutler4 in forum Excel General
    Replies: 4
    Last Post: 07-03-2013, 06:48 PM
  3. search within text file and replace strings with variable number of characters
    By ingolf_ingolfsen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-28-2012, 03:54 AM
  4. Find a string of characters and then either keep the text or replace it
    By knitterkuba in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-15-2010, 05:15 PM
  5. Searching for Text String and copying specific portion based on characters
    By undergraduate in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-30-2010, 12:45 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