Hello Forum and thanks in advance for any guidance.

I have a very basic userform with 5 textboxes, 2 datepickers (those in a frame) and a command button to send the entries to a worksheet. The userform is launched by a button on the Excel 2010 worksheet. I also have found code that adds a minimize button (with maximize disabled) next to the X close button in the title bar which works great and what I'm looking for.

However, it seem that the minimize button code somehow blocks or stops the focus from being set in the first textbox. I've tested this by removing this minimize button code from the userform code and seeing that the focus works just fine without it, landing in the first textbox where the tab index is 0 and tab stop is true. I've tried to add SetFocus code to the userform, in the macro for the launch button, within the minimize button code, etc., but to no avail. If I had more hair, i'd be pulling it out right now!

I want to keep the minimize button code and make that functionality available to the user as I have ShowModal set to false in case the user wants to link to help/reference resources from the worksheet to help them complete any of my forms, as the workbook is a tool to build a communications plan.

Is there a way to modify the following code to stop it from blocking the focus being set to the first textbox? Additional code I can add to make it happen?

Again, any help is much appreciated!

The UserForm Code:
Please Login or Register  to view this content.
My Launch Button Macro Code:
Please Login or Register  to view this content.