I'm trying to populate a listbox that I have put on my sheet.
Using the Workbook_Open:
with ListBox1
.additem "AAA"
.additem "BBB"
end with
however, it gives me a Run-time error 91
"Object variable or with block variable not set"
Can anyone please give me some clues as to what I need to do.
Many thanks
Steve
Using the Workbook_Open:
with ListBox1
.additem "AAA"
.additem "BBB"
end with
however, it gives me a Run-time error 91
"Object variable or with block variable not set"
Can anyone please give me some clues as to what I need to do.
Many thanks
Steve