+ Reply to Thread
Results 1 to 3 of 3

Variable text/numbers between fixed text in in inputbox

  1. #1
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Variable text/numbers between fixed text in in inputbox

    Hi I need help to make an inputbox, where the input is between fixed text.


    X in red are fixed text, which will always be there.

    RFN-1303011153JVHN are the number i want to put in the inputbox. And that number can be variable

    Its important that all spaces will be keept intact in the string, because i have to use this to capture a window.

    The code look like this now without any input box

    Please Login or Register  to view this content.
    Sincerely

    Abjac

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Variable text/numbers between fixed text in in inputbox

    Maybe:

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Re: Variable text/numbers between fixed text in in inputbox

    HI Jbeaucaire. Jackpot first time. The code is working perfect, i know its sensitive, just one wrong space. But this one did the trick first time

    .Thanks alot Really great

    Sincerely

    Abjac

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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