Add-In for Code Originally in Multiple Sheets

Rack Khoun

New Member
Joined
Aug 1, 2011
Messages
1
I'll lay out my problem in general terms first. If anyone has any ideas, I'll get more specific:

I have data in one sheet. I made charts for each category of data and in each Chart Sheet, I coded Chart Events that would change graphs based on my where I clicked using MouseUp and it worked beautifully.

However, the GOAL is my coworker wants me to use an Excel Add-In to Chart Events.

The PROBLEM is that I don't know how to use Excel Add-In to apply code to specific sheets.

I have ATTEMPTED:

For each chart sheet in my original codes, I converted them to a class module. The PROBLEM arises when I try to call the class module based on my selection of a specific sheet. The MouseUp code will not fire.

I read through CPearson's articles on Event procedures and John Peltier's article on Chart Events. It's just I have trouble applying these concepts to Add-Ins.

Thanks
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,224,606
Messages
6,179,866
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top