About 604,000 results
Open links in new tab
  1. Capturing Cancel of Inputbox? | MrExcel Message Board

    Aug 8, 2011 · You can still use the standard VBA InputBox function and tell if the user pressed the cancel Button by checking if the StrPtr of the Input String is 0. Something like this :

  2. VBA - Use message/input box response to populate cell

    Feb 3, 2016 · No, the Input Box method only allows one input. So unless you asked the question something like: " Please enter your name and Run ID separated by a comma ", and then …

  3. Error when Inputbox is Canceled | MrExcel Message Board

    Jan 5, 2017 · When you cancel an Application.InputBox it returns False. Which is not a Range object, hense the mismatch Try Code:

  4. Hiding text for passwords using InputBox? - MrExcel

    Oct 4, 2002 · I have the following code to prompt the user to enter a password. Is there a way to make the displayed input hidden in the dialog box as the user enters the text, such as looking …

  5. Inputbox won't exit sub when cancel is clicked - MrExcel

    Jan 6, 2012 · if the empty string is “” as a result of the user clicking OK button with an empty InputBox, the string exists and the function will return a value other than zero which is why the …

  6. [VBA] Password on an input box - | MrExcel Message Board

    Jun 28, 2021 · First, I would suggest that you use the InputBox method of the Application object, instead of the InputBox function. This way you can test whether the user has clicked on the …

  7. Correctly Cancel or close Input Box to exit sub - MrExcel

    Jan 24, 2023 · I'm attempting to have the Cancel Button or Close Button on the input box to exit the sub, can anyone assist in executing that correctly? Sub openurl() Dim EdgeLocation As …

  8. VBA Help with DATE Input Box & Error Handling - MrExcel

    Oct 22, 2014 · Very helpful forum here! Thanks to all who assist! I'm having trouble coding a Auto Open routine in an Excel sheet ... the objective is: Upon opening the sheet VBA executes and …

  9. Dropdown list in VBA InputBox | MrExcel Message Board

    Nov 7, 2016 · Hi, Is it possible to get a dropdown list with VBA InputBox? The dropdown list has to refer to the table[column]: "TabelMatriaalinformatie[Materiaal:]" Thank you for you time. A part …

  10. Using InputBox for password: mask actual input - MrExcel

    Jun 21, 2009 · Hi, Is it possible to use InputBox (or another VBA function) for asking a password form a user without showing the actual characters of the password on the screen? Eg. during …