Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Dylan Bouchard   on Oct 14 In MS Office Category.

  
Question Answered By: Kawkab Mansour   on Oct 14

Try just:
Public Sub myControl(otp As Object)

ByRef is the default.

(and change
myctrl OptCollapse
to
myControl OptCollapse
(a typo I guess))

Share: 

 

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

 
Didn't find what you were looking for? Find more on How to pass a control in a Sub Or get search suggestion and latest updates.


Tagged: