I have VBA code in I would like to run when the Excel workbook is opened.
I tried creating a public procedure in the sheet the code is supposed to run in:
Public Sub Workbook_Open ' Some code here End Sub It does not run when the workbook opens.
It is supposed to create a combobox in one of the cells and then fill it with information from the database.