"Welcome" userform
This searches "BookingsList" for the value of "EZBook_Ref". If there are no results it says "No Results for that booking reference number 'xxxx'", otherwise, it selects the booking in the "BookingsList" sheet. It then selects the information from each column and transfers the information to the relevent cell names (which refer to cells in the sheet "Data").
For the very first search, this works. It then shows the User form "ViewBooking".
ViewBooking works perfectly. If i click on the "Close Booking" button, it runs the following macro.
So you end up back on the Welcome userform, back to square one.
If you then enter a new reference number that isn't in the system it will show the error message that no booking was found.
If you then enter a different reference number that is in the booking system, it does not transfer the information from each column into the cells in "Data" like it does on the first search and I am not sure why.
Can anyone help pleeeease? Thanks :-)
Bookmarks