ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VB timing question (https://www.excelbanter.com/excel-programming/301360-vbulletin-timing-question.html)

Pakenn

VB timing question
 
I am writing a VB macro to determine on a daily basis how long it takes product to flow down a production line. I can generate the start and end times for each part form a line computer application. Anybody know a method (piece of code) to compute the difference between both times (but taking out the time it takes when the line is stopped. After 4.30pm in the evenings and Saturdays & Sundays)

I know the "NETWORKDAYS" function can take out whole days, but what about the evenings?

Pls reply to



Bernie Deitrick

VB timing question
 
Post samples of you data, and what time you would expect to calculate from
each.

HTH,
Bernie
MS Excel MVP

"Pakenn" wrote in message
...
I am writing a VB macro to determine on a daily basis how long it takes

product to flow down a production line. I can generate the start and end
times for each part form a line computer application. Anybody know a method
(piece of code) to compute the difference between both times (but taking out
the time it takes when the line is stopped. After 4.30pm in the evenings and
Saturdays & Sundays)

I know the "NETWORKDAYS" function can take out whole days, but what about

the evenings?

Pls reply to






All times are GMT +1. The time now is 10:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com