Hi,
I have a code in module1 - Sub SortingData()
and then code..
And Sheet1 has - Private Sub CommandButton1_Click()
and then code.
I want to call Private Sub CommandButton1_Click() from my module1 - Sub SortingData()
Hi,
I have a code in module1 - Sub SortingData()
and then code..
And Sheet1 has - Private Sub CommandButton1_Click()
and then code.
I want to call Private Sub CommandButton1_Click() from my module1 - Sub SortingData()
My English is very poor, so please be patient >_<"
Thanks & Regards.
hkbhansali
Maybe like this :
![]()
Please Login or Register to view this content.
Hi karmapala
there is debug error while code run
![]()
Please Login or Register to view this content.
Hi, ANDREAAS
No..Not working..there is "compile error" - "Variable not Defined"
sorry, don't know then. it works like that on my side.
That should do the trick, it is because of the difference in public and private sub.![]()
Please Login or Register to view this content.
Should be
![]()
Please Login or Register to view this content.
Assuming the code name of the sheet is Sheet1 then
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks