Thread: How to run sub?
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default How to run sub?

I assume that the CommandButton_Click is an event in a worksheet?

So make it public, and call with

Call Sheet1!CommandButton1_Click

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Boban" wrote in
message ...

How to run sub from sub?

I want to run for example CommandButton1_Click() from other control
sub.


--
Boban
------------------------------------------------------------------------
Boban's Profile:

http://www.excelforum.com/member.php...o&userid=28560
View this thread: http://www.excelforum.com/showthread...hreadid=482541