Open the form in Design view. Right-click and select the Properties.
On the Events tab, find the blank On Open line and double-click so you see Event Procedure. Now click the Builder (...) button at the end of the line to go to the code window.
In the blank line between Private Sub... and End Sub, paste this: