+ Reply to Thread
Results 1 to 3 of 3

Force entry in textbox on userform

  1. #1
    Registered User
    Join Date
    11-29-2013
    Location
    Townsville, Australia
    MS-Off Ver
    Excel 2010
    Posts
    23

    Force entry in textbox on userform

    How do I force a user to fill in a textbox on a userform (make it a "required entry"), before allowing them to go onto the next entry on the form. Would it be better to do this when all other fields have been filled in?

    Thanks,

    OM1950

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Force entry in textbox on userform

    Good morning OM1950

    I would do a simple check at the end - you usually have a "Go" button that will do something with the data entered. Just insert a simple routine that will cancel the action if the textbox is unfilled.
    Please Login or Register  to view this content.
    HTH

    DominicB

  3. #3
    Registered User
    Join Date
    11-29-2013
    Location
    Townsville, Australia
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Force entry in textbox on userform

    Thanks Dominic - thought that might be the best way to do it.

    OM1950

+ 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. [SOLVED] VBA UserForm - Have entry in TextBox fill Another TextBox by VLOOKUP
    By msquared99 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-26-2012, 10:24 PM
  2. Replies: 2
    Last Post: 07-09-2012, 02:05 AM
  3. Force Entry on UserForm
    By raehippychick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-20-2007, 11:33 AM
  4. TextBox on UserForm to display the last entry
    By JLee98 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-30-2007, 12:37 AM
  5. Copying TextBox entry from one UserForm to another
    By excelnut1954 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-23-2006, 03:15 PM

Tags for this Thread

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