Hi all,
I'm a newbie to Excel, so please be patient with me.
The attached file has a user form that I cannot get the SetFocus to work. The cursor should appear in the glucose field when the form is opened.
The other thing I cannot figure out is this. The user form adds records by finding the first empty row in the database, but since I made the userform Modeless, I would like to add the record to a row I click on with the mouse.
Because the sheet for the printout is formated with empty rows after a group of seven records, see the sheet titled 'BlankForm', I thought it would be easier to just click on the row where I would like the record to be placed rather than in a straight database, and then transfer to the BlankForm for a printout. Which I have Nooooooo idea on how to do.
The original coding is not mine. I found the code somewhere and after trial and error got it to work, somewhat, for my needs.
Any help on the setting of the focus would be greatly appreciated.
George
Bookmarks