LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default Excel Question Prevention

If you're using a userform for the input, don't let the user leave until it
satisfies all of your critieria:

'Validate form data
If Me![YourFirstRequiredTextbox] = "" Then
MsgBox "No value entered.", , "Missing Data"
Me![YourFirstRequiredTextbox].SetFocus
' Exit the subroutine; clear memory of any objects
GoTo SubExit
End If

If all of them are similar, you can loop through the controls collection.

Hope that helps.
Sprinks


"Help?" wrote:

I have developed an excel file that customers will fill out questions, which
transfers that data to another excel file, converts to csv and distributes to
a printing facility. A problem that I am having, but do not know how to
correct is that customers are forgetting to answer some important questions.
How can I make excel not allow them to go forward without answering a
specific question?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevention of Printing Deejay Excel Discussion (Misc queries) 1 September 25th 07 12:20 PM
Excel file Copy Prevention/Restriction chris100[_71_] Excel Programming 18 August 18th 06 09:07 PM
Duplicate prevention from Listbox selections to worksheet Casey[_103_] Excel Programming 2 June 12th 06 06:59 PM
New document disaster prevention/recovery software [email protected] Excel Discussion (Misc queries) 0 February 22nd 06 09:18 PM
prevention emergency kay - for experts [email protected] Excel Programming 1 February 4th 05 10:56 AM


All times are GMT +1. The time now is 11:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"