Hi
Replace your current CalculatePrice with this sub.
Public Sub CalculatePrice()
Dim TotalCost As Integer, ThisDate As String, NoDays As Integer, i As Integer, rst As Recordset
MsgBox "Wants a " & Me.cmbRoomType & " room from " & Me.txtFromDate & " to " & Me.txtToDate...