View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
isabelle isabelle is offline
external usenet poster
 
Posts: 587
Default How to set focus on an ActiveX ListBox

the cause may be:

- You specified a Friend procedure which is called by late binding.

- The name of a Friend procedure must be known at compile time. It can not appear in a late-bound call.

without seeing your file i am unable to say more.

--
isabelle



Le 2012-06-22 12:44, Rob Flott a écrit :
Yes, your macros works fine...but when I try it in my workbook I keep
getting that run-time error...and when I clidk 'end' it goes ahead and
sets the focus accordingly...very strange...

But thank you for your help...

Rob