less than 1 minute read
InputBox Type 2 – get some text from the user
'==================================================================================================
' ## InputBox Example 2: (Type 2) - Inputbox to get some text from the user
'==================================================================================================
Sub InputBoxText() '// Vars Dim YourName As Variant '// Prompt for a name YourName = Application.InputBox _ (Prompt:="What's your name?", Title:="Text only", Type:=2) '// Test if clicked cancel If YourName = False Then Exit Sub '// Output MsgBox "Your name is " & YourName
End Sub
Tags: inputbox
Categories: vba
Updated: March 29, 2019
1 minute read
Here’s the simple steps to highlight the row and column of the selected cell which can be extremely useful when navigating large sets of data. Here’s a littl…
less than 1 minute read
How it Works Using SEARCH and ISNUMBER When you need to check if a cell contains specific text (or string) we need to combing the SEARCH and ISNUMBER functio…
less than 1 minute read
So you have a 0% value on one of your data labels and want to hide it?
1 minute read
Download the example workbook here: calculate-time-between-dates.xlsx