+ Reply to Thread
Results 1 to 3 of 3

Find replace within a textbox.

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

    Find replace within a textbox.

    I want to search / replace within textBox42 for "--" and replace it with Wingdings font "s".

    Could someone help me with this please as the record option does not yield the correct results.

    Thanks very much.

  2. #2
    Forum Contributor
    Join Date
    07-07-2014
    Location
    ericbartha.com
    MS-Off Ver
    2016 Professional
    Posts
    126

    Re: Find replace within a textbox.

    I do not know what the official answer is, but you could set the data within the textbox to a string, then either search that string, or paste it into a cell tempararily, then find and replace on the cell. Move cell back to textbox

    Something like this: ??

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-07-2014
    Location
    ericbartha.com
    MS-Off Ver
    2016 Professional
    Posts
    126

    Re: Find replace within a textbox.

    Okay, after a quick google, I would set sTemp = textbox 41 then replace function on sTemp, setting it to sTemp2, then set textbox42 = sTemp2.

    https://msdn.microsoft.com/en-us/lib...(v=vs.90).aspx

    Hope this helps!

+ 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. Find and replace textbox input in form
    By jhuvba in forum Access Tables & Databases
    Replies: 4
    Last Post: 08-12-2015, 04:47 PM
  2. [SOLVED] Find and replace where contents a formula so can't be seen by Find and replace.
    By markDuffy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2015, 02:24 PM
  3. Replies: 16
    Last Post: 12-02-2014, 03:38 PM
  4. Replies: 3
    Last Post: 11-25-2014, 06:08 AM
  5. Find and Replace multiple cells based on edited textbox value
    By Stratocaster in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-09-2014, 08:54 PM
  6. find in excel replace in word: find/replace text in text boxes and headers
    By dean.rogers in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-10-2012, 12:40 PM
  7. Find and Replace with Textbox
    By gptechsxm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-17-2011, 04:15 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