+ Reply to Thread
Results 1 to 3 of 3

Adding a field limitation (0-1 only) to a Private sub inputbox prompt.

  1. #1
    Registered User
    Join Date
    02-29-2012
    Location
    Washington, DC
    MS-Off Ver
    Excel 2013
    Posts
    10

    Adding a field limitation (0-1 only) to a Private sub inputbox prompt.

    Hello Excel Gurus,

    You helped me piece this sub together in an earlier thread, now I'm back for more. Here is the sub:
    Please Login or Register  to view this content.
    My question is whether or not it is possible to add some sort of data entry limitations to the Target.Row, 7 = Inputbox entry. Instead of having the 'Syntax for percentages: .85 = 85%', I'd like it to return an error message if the user inputs a value outside of 0-1, and re-prompt them for an input.

    Thanks for your help on this!!!

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Adding a field limitation (0-1 only) to a Private sub inputbox prompt.

    Something like

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-29-2012
    Location
    Washington, DC
    MS-Off Ver
    Excel 2013
    Posts
    10

    Re: Adding a field limitation (0-1 only) to a Private sub inputbox prompt.

    That works - thank you!

+ 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