Add problem

  • Thread starter Thread starter E.Z.
  • Start date Start date
E

E.Z.

Hi,
Can some1 tell me what's wrong with this line:

UserForm1.Controls.Add "Excel.Sheet", "List1", True

I get Run time error - Invalid argument

Tnx in advance
 
Tnx,
It's a UserForm and the problem is with adding an "Excel.Sheet" control
class.
np with adding a ListBox
 
Back
Top