+ Reply to Thread
Results 1 to 4 of 4

setting initial value in a textbox in a UserForm

  1. #1
    Registered User
    Join Date
    01-20-2011
    Location
    Hants, UK
    MS-Off Ver
    Excel 2010
    Posts
    9

    setting initial value in a textbox in a UserForm

    I use a textbox on a UserForm to update a value in the spreadsheet. This works fine.

    I would now like to initially populate the textbox with the current spreadsheet value so that the user can see the current value and only enters a value in the textbox if he doesnt like the value shown.
    Is this possible or can I modify label text to display the current value ?
    Last edited by roybranagan; 01-21-2011 at 07:07 AM.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: setting initial value in a textbox in a UserForm

    Hi roybranagan
    Welcome to the forum
    Use the Initialise code in the form
    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Registered User
    Join Date
    01-20-2011
    Location
    Hants, UK
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: setting initial value in a textbox in a UserForm

    Brilliant - just the job. Many thanks

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: setting initial value in a textbox in a UserForm

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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