ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Restrict User Input (https://www.excelbanter.com/excel-programming/297080-restrict-user-input.html)

Sala[_2_]

Restrict User Input
 
I'm in a bind....

I have a form that contains embedded drop down menus (are
they called lists?). I want the users to select an option
from the list but some users are getting creative and
finding ways to put non-list values in the cell. How do I
prevent this?

Sala

Harald Staff

Restrict User Input
 
Hi Sala

See if data validation will do what you want:
http://www.contextures.com/xlDataVal01.html

A worksheet isn't really a form in the strict meaning of the word. And
preventing incredible user actions is a complete science of its own. So
you're never 110% safe. But it's easier with a userform + VBA code than with
a worksheet.

HTH. Best wishes Harald

"Sala" skrev i melding
...
I'm in a bind....

I have a form that contains embedded drop down menus (are
they called lists?). I want the users to select an option
from the list but some users are getting creative and
finding ways to put non-list values in the cell. How do I
prevent this?

Sala




Sala[_3_]

Restrict User Input (not data validation)
 
Hi Harald,

My current system uses data validation (I thought it had a
different name) and that's how I'm getting this problem.

What exactly is a userform? If can give me a few terms
here and there, I can use the assisstant to find out
the 'what' and 'how'.

Thanks
Sala


-----Original Message-----
Hi Sala

See if data validation will do what you want:
http://www.contextures.com/xlDataVal01.html

A worksheet isn't really a form in the strict meaning of

the word. And
preventing incredible user actions is a complete science

of its own. So
you're never 110% safe. But it's easier with a userform +

VBA code than with
a worksheet.

HTH. Best wishes Harald

"Sala" skrev i melding
...
I'm in a bind....

I have a form that contains embedded drop down menus

(are
they called lists?). I want the users to select an

option
from the list but some users are getting creative and
finding ways to put non-list values in the cell. How

do I
prevent this?

Sala



.


Harald Staff

Restrict User Input (not data validation)
 
Hi Sala

See Tom Ogilvy's reply to the thread "Create a Dialog Box" for userform
information. I wouldn't trust Clippy on that one :-)

How are you experiencing problems with Data validation ? I know users can
paste to those cells and overwrite the whole thing, is that what happens ?

Best wishes Harald

"Sala" skrev i melding
...
Hi Harald,

My current system uses data validation (I thought it had a
different name) and that's how I'm getting this problem.

What exactly is a userform? If can give me a few terms
here and there, I can use the assisstant to find out
the 'what' and 'how'.

Thanks
Sala


-----Original Message-----
Hi Sala

See if data validation will do what you want:
http://www.contextures.com/xlDataVal01.html

A worksheet isn't really a form in the strict meaning of

the word. And
preventing incredible user actions is a complete science

of its own. So
you're never 110% safe. But it's easier with a userform +

VBA code than with
a worksheet.

HTH. Best wishes Harald

"Sala" skrev i melding
...
I'm in a bind....

I have a form that contains embedded drop down menus

(are
they called lists?). I want the users to select an

option
from the list but some users are getting creative and
finding ways to put non-list values in the cell. How

do I
prevent this?

Sala



.




Sala[_3_]

Restrict User Input (not data validation)
 
Hey Harald,

I'll check out Tom's post.

You're exactly right. There are a lot of records and only
a handful of fields so most of the entering is
repetitive. Because of this, I want to give the users the
flexibility of 'copy paste' so they don't have to waste
time filling each box individually but at the same time, I
want to restrict them to using only the values in the data
validation.

Sala
-----Original Message-----
Hi Sala

See Tom Ogilvy's reply to the thread "Create a Dialog

Box" for userform
information. I wouldn't trust Clippy on that one :-)

How are you experiencing problems with Data validation ?

I know users can
paste to those cells and overwrite the whole thing, is

that what happens ?

Best wishes Harald

"Sala" skrev i

melding
...
Hi Harald,

My current system uses data validation (I thought it

had a
different name) and that's how I'm getting this problem.

What exactly is a userform? If can give me a few terms
here and there, I can use the assisstant to find out
the 'what' and 'how'.

Thanks
Sala


-----Original Message-----
Hi Sala

See if data validation will do what you want:
http://www.contextures.com/xlDataVal01.html

A worksheet isn't really a form in the strict meaning

of
the word. And
preventing incredible user actions is a complete

science
of its own. So
you're never 110% safe. But it's easier with a

userform +
VBA code than with
a worksheet.

HTH. Best wishes Harald

"Sala" skrev i melding
...
I'm in a bind....

I have a form that contains embedded drop down menus

(are
they called lists?). I want the users to select an

option
from the list but some users are getting creative and
finding ways to put non-list values in the cell. How

do I
prevent this?

Sala


.



.


Harald Staff

Restrict User Input (not data validation)
 
Hi Sala

You say Records. If this is strict data entries to rows then have a look at
John Walkenbach's enhanced Data form:
http://j-walk.com/ss/dataform/index.htm

HTH. Best wishes Harald


"Sala" skrev i melding
...
Hey Harald,

I'll check out Tom's post.

You're exactly right. There are a lot of records and only
a handful of fields so most of the entering is
repetitive. Because of this, I want to give the users the
flexibility of 'copy paste' so they don't have to waste
time filling each box individually but at the same time, I
want to restrict them to using only the values in the data
validation.




Sala[_3_]

Restrict User Input (not data validation)
 
Hi Harald,

I looked at the site but that's not the interface I want.
Insted of a 'form' view, it'd be easier for them if they
had it in 'datasheet' view.

I can't use MS Access because only a few users have it
(and I don't like the fact that you can only change one
cell at a time).

I want to keep it in an Excel worksheet, unlocked (so
copy/paste method can be used to quicken process) but at
the same time I'd like to mimic the Access table
property "LimitToList".

Any thoughts?
Sala

-----Original Message-----
Hi Sala

You say Records. If this is strict data entries to rows

then have a look at
John Walkenbach's enhanced Data form:
http://j-walk.com/ss/dataform/index.htm

HTH. Best wishes Harald


"Sala" skrev i

melding
...
Hey Harald,

I'll check out Tom's post.

You're exactly right. There are a lot of records and

only
a handful of fields so most of the entering is
repetitive. Because of this, I want to give the users

the
flexibility of 'copy paste' so they don't have to waste
time filling each box individually but at the same

time, I
want to restrict them to using only the values in the

data
validation.



.


Harald Staff

Restrict User Input (not data validation)
 
Hi Sala

If the datasheet has to be an excel worksheet then you're now left with
macro programming/validation. And also risking that macros are disabled by
the user or the sysadmin, removing the whole logic.

Userforms use VBA, macros, programming code, and you can tame it to do
whatever cool things. But it has to be done, there are no "everything is
allowed and you'll be strictly validated doing it" methods available by
default. Liberty OR control, not both.

So either spend lots of hours (at $? each) programming this, buy a few
Access licenses (at $? each) or spend your users' time on awkward and
limited entries (at $? each), I believe that would be the options. Excel is
originally a spreadsheet, not a platform or a database, so she's not the one
to blame here.

(We may hope that someone proves me wrong here. Stranger things happen every
hour :-)

Best wishes Harald

"Sala" skrev i melding
...
Hi Harald,

I looked at the site but that's not the interface I want.
Insted of a 'form' view, it'd be easier for them if they
had it in 'datasheet' view.

I can't use MS Access because only a few users have it
(and I don't like the fact that you can only change one
cell at a time).

I want to keep it in an Excel worksheet, unlocked (so
copy/paste method can be used to quicken process) but at
the same time I'd like to mimic the Access table
property "LimitToList".

Any thoughts?
Sala





All times are GMT +1. The time now is 01:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com