Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ian Varty
 
Posts: n/a
Default prevent a user leaving a blank cell in excel2003

I want to be able to prevent a user not filling in a required cell in a
worksheet. Anyone got any ideas?
  #2   Report Post  
Widemonk
 
Posts: n/a
Default

Like in another thread, i think the key would be when the users tries to
leave the page.

Try this in VBA:-
Private Sub Worksheet_Deactivate()
If Range("a1") < True Then
Worksheets("sheet1").Select
MsgBox "You have not completed all the details.", vbCritical, "Incomplete
detail"
End If
End Sub

It wont stop users switching to another workbook, but if you wanted it to,
you could put a similar thing into the workbook module too.


"Ian Varty" wrote:

I want to be able to prevent a user not filling in a required cell in a
worksheet. Anyone got any ideas?

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 prevent Excel from plotting a cell w/ a formula as a "ze. Hatchet_Jack Charts and Charting in Excel 1 February 9th 05 10:31 PM
Show Blank is cell value=0 but count as a zero in sum. How to format this cell ? Markus Obermayer Excel Discussion (Misc queries) 1 January 4th 05 08:01 PM
Displaying a blank cell RTP Excel Discussion (Misc queries) 4 December 29th 04 03:23 AM
Using Jet to read excel file returns blank for last cell - sometim Ron Excel Discussion (Misc queries) 1 December 9th 04 08:21 AM
conditional formatting blank cell TREK5200 Excel Discussion (Misc queries) 1 December 6th 04 02:23 AM


All times are GMT +1. The time now is 10:55 AM.

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"