Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default all above entered first

Is there a way to lock out cells without a lot of vba code; maybe with
none at all?

For example, insist column data entry is allowed only in order, with
no empty cells allowed. In a column, row 1 would have to contain data
before row 2 was unlocked.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default all above entered first

cate submitted this idea :
Is there a way to lock out cells without a lot of vba code; maybe with
none at all?

For example, insist column data entry is allowed only in order, with
no empty cells allowed. In a column, row 1 would have to contain data
before row 2 was unlocked.

Thank you.


Not without using a VBA event procedure. In this case your code can
insert the next row when required input is satisfied for the current
row. All unused rows are locked and sheet protection applied so users
can only access input fields.

<Non-VBA alternative
You could use ConditionalFormatting to create the 'illusion' that row2
doesn't 'appear' until all required data is entered in row1. This would
require some hidden helper columns, but no VBA is needed. Effectively,
rows will continue to 'appear' as the current row data input completes.
In this scenario there is no sheet protection used.

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


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
Using a Macro in Excel 2004 to move entered data from one sheet toanother and space between rows when next data is entered? [email protected] Excel Programming 1 June 4th 08 05:08 PM
formula cant be entered matt2123 Excel Discussion (Misc queries) 4 June 3rd 08 05:34 PM
Value must be entered JStiehl Excel Discussion (Misc queries) 1 May 16th 08 02:10 PM
No value entered WannaKooky Excel Worksheet Functions 2 November 1st 04 03:51 PM
How to get last entered value in a ROW? Excelwiz wanabee Excel Programming 13 December 3rd 03 11:05 PM


All times are GMT +1. The time now is 11:25 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"