Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, I am creating a user form, quite successfully so far, but need the first text box to not allow the user to leave it blank. The data writes to a table and if it is left blank it will overwrite it the next time data is posted as it searches for the first blank cell in column A and writes across the row from it. I guess one option is for the program to search for a blank ROW rather than a blank cell in column A. Any help is appreciated! Thanks Kristen -- Kristen ------------------------------------------------------------------------ Kristen's Profile: http://www.excelforum.com/member.php...o&userid=33199 View this thread: http://www.excelforum.com/showthread...hreadid=530182 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Kristen
Somthing like this, prompt the user to put in a value. if textbox1 = "" then msgbox "Enter a value" TextBox1.SetFocus endif Regards Yngve |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Return Text or Blank | Excel Worksheet Functions | |||
In Excel need macro to tell if Text Box is Blank or has Text | Excel Discussion (Misc queries) | |||
Disallowing duplication of nmbers in a column | Excel Discussion (Misc queries) | |||
disallowing blank cells | Excel Programming | |||
Disallowing Update | Excel Programming |