LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Creating a warning window

The formula is for the total hours. They don't actualy punch in the
total hours they worked, they punch in the actual time frame they
worked (time in and time out). Then I calculate that in a formula to
get a numberic value for the number of hours that spans.

Tom Ogilvy wrote:
I don't see any use for a formula in the cell in the scenario you describe.
If there is a formula, then it is unclear why you would need any type of
validation.

The user enters two values and the third is calculated. - no disconnect.


--
Regards,
Tom Ogilvy

"PCStechnical" wrote in message
ups.com...
it seems though the validation option only works when the user actually
inputs a number instead of a formula computing a number in the cell you
want to validate. Is that true? If it is, is there anything else that I
can do.
Tom Ogilvy wrote:
You should validate the cells where the user is making entries. You say
the
user makes 3 entries Total, Regular, Overtime.

To be absolutely sure, you would need validation in each - but the
formula
would have to restrict entry only if there were entries in the other two
as
an example - although it would be more complex.

--
Regards,
Tom Ogilvy


"PCStechnical" wrote:

I did a test one in another worksheet that looks like this
regular hours other total
6 2 8
6 8
8 8

the demensions are columns a:c and rows 1:4


questions:
which cell do I validate?
when I tried validating in cell d3 the formula I put was (=a3+b3=c3)
and nothing popped up. Solutions?

Tom Ogilvy wrote:
You really don't need a macro for this. Look at Data=Validation and
use the
custom formula option. On the other two tabs in the dialog you can
specify
messages that pop up and so forth.


Debra Dalgleish
http://www.contextures.com/tiptech.html

look under D and then Data Validation.
--
Regards,
Tom Ogilvy


"PCStechnical" wrote:

I'm working on a timecard project. I want to create a popup window
(userform) when the values someone inputs on the worksheet for
their
regular hours + other hours does not equal the time interval they
inputed.

Example: I input that I worked from 8:00am to 4:00pm (8hr day). I
can
break down my hours between regular work hours and other hours
(overtime). If the employee puts in 5 regular hours and 10 other
hours
for that day, obviously that is more than the 8 hour day they
claimed
they worked.


If this scenario was true, I want a window to pop up telling them
that
their hours don't equal.


CAN I DO THAT?


PCStechnical






 
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
macro warning window Bodyshopman Excel Discussion (Misc queries) 4 October 7th 08 10:46 PM
Creating a warning window PCStechnical Excel Discussion (Misc queries) 6 October 4th 06 06:43 PM
Creating a Warning window PCStechnical Excel Worksheet Functions 2 October 4th 06 06:29 PM
Macro warning window Beema Excel Discussion (Misc queries) 1 December 2nd 04 05:33 PM
Getting rid of macro warning window jayceejay Excel Programming 3 June 21st 04 08:38 AM


All times are GMT +1. The time now is 09:56 AM.

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"