
April 3rd, 2012, 06:34 AM
|
|
|
|
Excel vba fill combobox in workbook_open
Hey,
Having some problems filling a combobox with content when using the workbook_open sub()
I got the combobox to work well when I had it in a sub under sheet1, but it's important that it runs when opening the document.
Code:
Private Sub workbook_open() Sheets("Sheet1").Combobox1.List = Array("Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", _ "September", "Oktober", "November", "Desember") End Sub
Tried
Code:
Sheets("Sheet1").select
then did did the combobox code again, don't see whats the problem here?
|