Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Having required fields in fill-in form

In a UserForm in Excel there is typically some point at which the information
must be transferred from the form onto a worksheet somewhere. During that
data transfer process is where you'd test to make sure that all of the data
entry fields are populated - you can even test to see that they are at least
of valid types of entries (numbers or text) and possibly even valid entries
if the possible entries can be accurately defined - as you might define all
possible names in a list, or set limits for a range of values (as from 1
through 100).

In Excel, a UserForm is an object that is created, maintained and coded from
within the Visual Basic Editor. A worksheet used as a data entry form is
just a regular worksheet, complete with name tab and cells - it's just been
formatted to look like a nice, neat form.

"shepherdess" wrote:

I am asking about the first of your options---a standardized form for our
sales reps set up so that they cannot leave required fields blank. They enter
data into these fields---data that will be used by a programmer to prepare a
formatted quote for our product---prepared in other software.

Thank you so much for the information and your reply.

Shepherdess

"JLatham" wrote:

Explain a little more by what you mean by "form" -- are you talking about a
UserForm that has entry fields in it, or are you writing about a worksheet
that is laid out and used as a 'form" for users to put information into
certain required cell locations on it?

In both cases, the answer is YES, you can validate entries before
continuing. How you do it depends on what you are using as a form. If it is
a worksheet being used as a form, then you can do this with the workbook's
_BeforePrint() and _BeforeSave() event handlers. For a UserForm, you'd have
to put the code into the UserForm's code area and exactly where to put it
depends on the form's setup.


"shepherdess" wrote:

Is it possible to have required fill-in cells in a preformatted form? Say,
the completer cannot leave the field or save the file unless the required
fields are completed?

Thanks in advance for any help you can give me on this one.

Reply
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
Required fields in Excel [email protected] New Users to Excel 5 November 4th 10 05:33 PM
How can I fill in the required fields on my spreadsheet? gemms Excel Discussion (Misc queries) 3 February 1st 06 02:45 AM
make a cell required to fill-in on form template Jo Excel Worksheet Functions 0 December 1st 05 07:01 PM
Required fields with comments Cathy Landry Excel Worksheet Functions 0 August 19th 05 06:18 PM
Required fields Emily Excel Discussion (Misc queries) 1 June 23rd 05 12:59 AM


All times are GMT +1. The time now is 04:28 PM.

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"