Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
zhj23
 
Posts: n/a
Default Restricting Cell Format

Is there a way to restrict a cell to a certain format, such that the user
cannot input other formats other than the preset one?
For example: preset the cell to numeric, user cannot input text or dates.

Many thanks.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Data Validation can do that to an extent. It can restrict to a number, no
text, but dates are just numbers, so that is a problem. See
www.contextures.com/xlDataVal01.html

--

HTH

RP
(remove nothere from the email address if mailing direct)


"zhj23" wrote in message
...
Is there a way to restrict a cell to a certain format, such that the user
cannot input other formats other than the preset one?
For example: preset the cell to numeric, user cannot input text or dates.

Many thanks.



  #3   Report Post  
zhj23
 
Posts: n/a
Default

Thank you, Sir.

At least the problem can be partially solved.


"Bob Phillips" wrote:

Data Validation can do that to an extent. It can restrict to a number, no
text, but dates are just numbers, so that is a problem. See
www.contextures.com/xlDataVal01.html

--

HTH

RP
(remove nothere from the email address if mailing direct)


"zhj23" wrote in message
...
Is there a way to restrict a cell to a certain format, such that the user
cannot input other formats other than the preset one?
For example: preset the cell to numeric, user cannot input text or dates.

Many thanks.




  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

The other way is event code to trap it as entered.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"zhj23" wrote in message
...
Thank you, Sir.

At least the problem can be partially solved.


"Bob Phillips" wrote:

Data Validation can do that to an extent. It can restrict to a number,

no
text, but dates are just numbers, so that is a problem. See
www.contextures.com/xlDataVal01.html

--

HTH

RP
(remove nothere from the email address if mailing direct)


"zhj23" wrote in message
...
Is there a way to restrict a cell to a certain format, such that the

user
cannot input other formats other than the preset one?
For example: preset the cell to numeric, user cannot input text or

dates.

Many thanks.






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
how do I format a cell reference to move as source changes KGray Excel Worksheet Functions 1 August 13th 05 12:41 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
can't format cell - have tried unlocking and unprotecting griffin Excel Discussion (Misc queries) 1 April 5th 05 02:11 AM
Show Blank is cell value=0 but count as a zero in sum. How to format this cell ? Markus Obermayer Excel Worksheet Functions 1 January 4th 05 08:01 PM
How do I unhide the cell format function in Excel 2000 Len Melcer Excel Worksheet Functions 2 December 15th 04 06:49 PM


All times are GMT +1. The time now is 10:30 PM.

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

About Us

"It's about Microsoft Excel"