A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how do i force users to first enter data in one cell before anythi



 
 
Thread Tools Display Modes
  #1  
Old June 3rd, 2008, 07:02 PM posted to microsoft.public.excel.misc
des-sa[_2_]
external usenet poster
 
Posts: 74
Default how do i force users to first enter data in one cell before anythi

is it possible to "lock" a spreadsheet for any entries before the value of a
specific cell is changed. i.e. i want to force users to enter a date before
they can do anything else, and if possible, maybe display a reminder to fill
in the date first
  #2  
Old June 3rd, 2008, 09:18 PM posted to microsoft.public.excel.misc
Dave O
external usenet poster
 
Posts: 408
Default how do i force users to first enter data in one cell beforeanythi

It can be done using VBA in a Worksheet.Change event; the difficulty
depends on whether or not the specific cell value is changing from
zero or blank to a non-zero, non-blank value. If the value of the cell
in question starts out as non-blank / non-zero, then you'll need to
compare the value of the cell when the file is opened to the current
value of the cell.

Dave O
Eschew obfuscation
  #3  
Old June 3rd, 2008, 10:29 PM posted to microsoft.public.excel.misc
des-sa[_2_]
external usenet poster
 
Posts: 74
Default how do i force users to first enter data in one cell before an

dave,
thanks for your reply. it's a template i use, so i can basically do either
of the 2 - leave it blank so as soon as other users enter a date in there, it
allows them to enter values in other cells or i can by default put a value,
say 1, in there.

"Dave O" wrote:

It can be done using VBA in a Worksheet.Change event; the difficulty
depends on whether or not the specific cell value is changing from
zero or blank to a non-zero, non-blank value. If the value of the cell
in question starts out as non-blank / non-zero, then you'll need to
compare the value of the cell when the file is opened to the current
value of the cell.

Dave O
Eschew obfuscation

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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