VBA editor to calculate workhours
I wrote a code to calculate work hours excluding Friday and Saturday and out of work hours
note that work hours is from 8:30 to 16:30
but it fails to calculate the work hours if the start Day is thursday as it shows at the picture marked in red