Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Sam Johnson   on Mar 22 In MS Office Category.

  
Question Answered By: Martha Gonzalez   on Mar 22

> However, this does not work. I get an error that reads: "Run-time
> error '424': Object required."

Don't you want those "MyComboBox1" references to be "cbox" (the object
parameter passed to the subroutine)?

> Also, rather than calling "SetColor(MyComboBox1)", is there a way
> to reference the "current" combo box using a variable similar to
> "this" in Java?

You may be able to use some variation of "Application.Caller"...

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Passing ComboBox ActiveX Control as Parameter to Method Or get search suggestion and latest updates.


Tagged: