primasatria
New Member
- Joined
- Dec 3, 2023
- Messages
- 9
- Office Version
- 365
- 2021
- Platform
- Windows
Dear all,
I have time in (TextBox1) with value 06:00 PM and time out (Textbox2) with value 01:00 AM.
And result in Textbox3.
How to calculate in Excel Userform?
If time in 06:00 AM and time out 05:00 PM, the result is correct 09:00
If time in 06:00 PM and time out 12:00 PM, the result is correct 06:00
But if time in 06:00 PM and time out 01:00 AM, the result is wrong 17:00, not 07:00
I need your kind assistance and helping hands.
Thank you,
Prima Indonesia
I have time in (TextBox1) with value 06:00 PM and time out (Textbox2) with value 01:00 AM.
And result in Textbox3.
How to calculate in Excel Userform?
If time in 06:00 AM and time out 05:00 PM, the result is correct 09:00
If time in 06:00 PM and time out 12:00 PM, the result is correct 06:00
But if time in 06:00 PM and time out 01:00 AM, the result is wrong 17:00, not 07:00
I need your kind assistance and helping hands.
Thank you,
Prima Indonesia