View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Yvonne Wilder Yvonne Wilder is offline
external usenet poster
 
Posts: 1
Default Users leaving blanks

I have a user input form and I am trying to stop users
leaving the fields empty. I am using the following code -

If txtname.Value Is Null Then MsgBox "Please ensure all
the boxes are filled before clicking OK" End Sub

Where am I going wrong?

Yvonne