Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Required Sheet and fields

First, I'm not that familiar with programming in excel, but at our company,
we need certain cells in excel filled out so we know that it has been
completed and not missed. What we want to do is have one sheet in our
spreadsheet that has a check box that says is an existing user been migrated
to this computer. If the box is checked then we want the second sheet to
become required on all fields and must be populated. We are using Excel 2003..
Thanks.

--
Message posted via http://www.officekb.com
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Required Sheet and fields


you want a If Then statement...

Sub Test()

If Checkbox1.Value = True Then
'code to use if checkbox is checked...
Else:
'code to use if checkbox is unchecked...
End If
End Sub


--
dok112
------------------------------------------------------------------------
dok112's Profile: http://www.excelforum.com/member.php...o&userid=10581
View this thread: http://www.excelforum.com/showthread...hreadid=533516

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default Required Sheet and fields

This is one of the issues of Excel as there is no real good way to enforce
this as the only way to truely enforce this would be to set such code within
the workbook's BeforeSave Event, which means the user would be forced to
fill out these cells before the workbook can be saved. With a true DB
environment, this sort of requirement is relatively easy to accomplish, but
in a Spreadsheet environment, you must ask yourself this question:

Which is more important, enforcing this requirement, and take the chance of
having to redo every single bit of work that was done to it before it could
possibly be saved, and have something like a power outage take place to only
wipe out every bit of that work that was done, but yet, couldn't be saved
until such requirement was fulfilled, OR is it more economical to allow them
to save their work in process without having to redo such a large chunk, if
something like a power outage was to take place?

We have a similar type situation, but I choose not to enforce it cause of
the latter issue. There's other things that we have in place that kicks it
back out to the required personnel to do their part before it can move on.

--
Ronald R. Dodge, Jr.
Production Statistician
Master MOUS 2000

"ralphdevlin via OfficeKB.com" <u11047@uwe wrote in message
news:5eece4d1aab67@uwe...
First, I'm not that familiar with programming in excel, but at our

company,
we need certain cells in excel filled out so we know that it has been
completed and not missed. What we want to do is have one sheet in our
spreadsheet that has a check box that says is an existing user been

migrated
to this computer. If the box is checked then we want the second sheet to
become required on all fields and must be populated. We are using Excel

2003..
Thanks.

--
Message posted via http://www.officekb.com



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
Required fields in Excel [email protected] New Users to Excel 5 November 4th 10 05:33 PM
how to have fields to be required Mandatory fields in Excel Excel Worksheet Functions 1 June 6th 08 10:41 PM
Required fields Brian Boguhn Excel Programming 5 January 10th 06 05:51 PM
Required fields Emily Excel Discussion (Misc queries) 1 June 23rd 05 12:59 AM
Required fields Lupe[_2_] Excel Programming 1 June 2nd 04 02:50 PM


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

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

About Us

"It's about Microsoft Excel"