Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I can't find how to validate the input of a textbox.
I want an errormessage to appear when the user leaves the textbo empty. How do I do this? Thanks in advance. P.S. I'm extremely new at VBA, so please forgive me any stupid questions -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
There is no built in support for validating a textbox.
You would need to write code to run at the appropriate time to check whether the textbox is empty or not. Since you have shared nothing about whether the textbox is from the forms toolbar or from the control toolbox toolbar or where it is located or when it is to be validated, or what actions you want to take if the textbox is found empty, there is little help that can be offered. -- Regards, Tom Ogilvy "Peer " wrote in message ... I can't find how to validate the input of a textbox. I want an errormessage to appear when the user leaves the textbox empty. How do I do this? Thanks in advance. P.S. I'm extremely new at VBA, so please forgive me any stupid questions. --- Message posted from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Go to the Data menu and click on validation.
|
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Which doesn't work with a textbox, only cells.
-- Regards, Tom Ogilvy "Lee" wrote in message om... Go to the Data menu and click on validation. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Textbox validation | Excel Discussion (Misc queries) | |||
show the input message of a data validation list on a textbox and set editable | Excel Discussion (Misc queries) | |||
excel input mask for textbox | Excel Discussion (Misc queries) | |||
Textbox validation | Excel Programming | |||
Limit input in a textbox | Excel Programming |