I haven't used list boxes before and don't need to use objects too often in my work, but for some reason, my code runs OK for this:
ActiveSheet.ListBox1.AddItem MyName(i)
but if I try to get the listbox using a worksheet instead of the ActiveSheet, it errors
wkTest.ListBox1.AddItem MyName(i)
Where test is the worksheet on which ListBox1 lives. What is the best way to reference a listbox if you want to refer it to it based on the sheet it's? Or is this not the right way to go about doing this.