Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default msgBox after sum values

Hello,

I have a plan with hours

A B C D |
E F
Enter Lunch/In Lunch/Out Out | Oper1
Oper2
08:00 12:00 13:00 17:00 | 05:00
04:00

Well, thatīs the hours worked, and the Oper, is how I distrib my
worked hours. I need a macro that check if the value is right... In the
example is wrong.. When this happens, i want a msgBox, warning the
user. Is that possible?
Remembering that it should be, for every day, not only on row..

Waiting for your help!

Regards from Brazil..

Claudio Marques

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default msgBox after sum values

Why not just use a formula to calculate it correctly?

=B1-A1

and

=D1-C1

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Claudio Silva" wrote in message
ps.com...
Hello,

I have a plan with hours

A B C D |
E F
Enter Lunch/In Lunch/Out Out | Oper1
Oper2
08:00 12:00 13:00 17:00 | 05:00
04:00

Well, thatīs the hours worked, and the Oper, is how I distrib my
worked hours. I need a macro that check if the value is right... In the
example is wrong.. When this happens, i want a msgBox, warning the
user. Is that possible?
Remembering that it should be, for every day, not only on row..

Waiting for your help!

Regards from Brazil..

Claudio Marques


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
msgBox sum values Claudio Silva Excel Discussion (Misc queries) 1 January 18th 07 12:38 PM
Inserting values in MsgBox excelnut1954 Excel Programming 4 May 10th 06 02:27 PM
MsgBox CC Excel Discussion (Misc queries) 4 May 5th 06 05:45 PM
Custom MsgBox using values from 2 different cells Todd Huttenstine[_3_] Excel Programming 3 November 27th 03 12:49 AM
format values in MsgBox? NorTor Excel Programming 2 September 9th 03 02:26 PM


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