+ Reply to Thread
Results 1 to 6 of 6

Manipulating InputBox variable

  1. #1
    Registered User
    Join Date
    05-01-2006
    Location
    OH
    MS-Off Ver
    Excel 2013
    Posts
    41

    Manipulating InputBox variable

    I have two inputboxes. I want to set the default value of the second inputbox as (effectively) one cell down from the first inputbox entry. In other words, if I type G17 into the first inputbox, I want the second inputbox to then have a default value of G18.

    Please and thank you.
    Last edited by elprup; 10-20-2009 at 02:58 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Manipulating InputBox variable

    Not sure what you are doing, but you can use an inputbox to select a range
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Manipulating InputBox variable

    for more info. on Roy's point see: http://msdn.microsoft.com/en-us/libr...ffice.11).aspx (specifically type 8)

  4. #4
    Registered User
    Join Date
    05-01-2006
    Location
    OH
    MS-Off Ver
    Excel 2013
    Posts
    41

    Re: Manipulating InputBox variable

    I don't want the inputbox to reference a range object. I don't know...let me reword:

    I think what I'm asking is how to manipulate a text result as though it were a (pretend) range? When I type "G17" into the first inputbox, I want "G18" to be the default text that shows up in the second inputbox. I can't figure out how to take the text "G17" and turn it into "G18."

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Manipulating InputBox variable

    Not sure I follow why you would want this but...

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    05-01-2006
    Location
    OH
    MS-Off Ver
    Excel 2013
    Posts
    41

    Re: Manipulating InputBox variable

    Beautiful! That's what I was after; thank you.

    As far as why, I just thought it'd be a nice touch to have the default value of the second input box dynamically change based on the user input of the first input box...and I was right, it is a nice touch!

    Thanks again.

+ 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