Hi Patrick,
Goto the
VB Editor. Here double-click on ThisWorkbook (which can be found in the Project Explorer --View>Project Explorer).
A blank field will show up at the right. From the left pulldown menu, select Workbook. You will now see that the blank field consists of the following lines:
Private Sub Workbook_Open()
End Sub
Between these lines you put your code which you want to run during startup.
Hope this helps
Max