Hi all,
I have a spread sheet where Sheet1 contains 5 header columns; PO, PO Line, Total Hours, Hours Booked and Remaining Hours. The data for the first 3 is entered manually, the Hours Booked comes from a Userform1 inputs and Hours Remaining is a simple calc.
The Userform1 selects PO and PO Line via comboboxes (linked to Sheet1) and inputs Hours Booked via textbox and appends these details to Sheet1, therefore updating the calculations for Hours Remaining.
When entering the data on Userform1, I'd like it to reset or blank the PO and PO Line fields (plus throw a warning message on screen) if the Hours Remaining on Sheet1 minus the Hours Booked on the Userform1 for that PO and PO Line would result in a value less than zero. I.e. it won't submit the data.
Hope that makes sense.
Bookmarks