Hi All,

Many thanks for your replies. Sorry about the delay been very busy with work and had no time to work on this calculator. I have been trying this morning to get this working, and convert the C# from the link above into VB.

I have managed to convert it to this:-
Code:
 
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Call CalcBusinessDays()

        Dim start As Date = (tb1.Text)
        Dim [end] As Date = (tb2.Text)
        Dim workingDays As Integer = 0
        While start < [end]
        If start.DayOfWeek <> DayOfWeek.Saturday AndAlso start.DayOfWeek <> DayOfWeek.Sunday Then
        workingDays = workingDays + 1
        End If
        start = start.AddDays(1)
        End While


    End Sub
End Class
But doesn't seem to work as the number of days come out wrong 60% of the time.

PLEASE PLEASE HELP!!

Regards
Chris