I wrote the following code in excel 2000, win 2000 and it worked. When I try to run it in excel 2002 win xp i get the following message "select method of worksheet class failed" What do I need to change?
Private Sub UserForm_Initialize()
Sheets("work"
.Select
ListBox1.ColumnCount = 3
ListBox1.RowSource = "a4
23"
End Sub
Thanks
Private Sub UserForm_Initialize()
Sheets("work"
ListBox1.ColumnCount = 3
ListBox1.RowSource = "a4
End Sub
Thanks