Chart Values that change based on Change event

  • Thread starter Thread starter ExcelMonkey
  • Start date Start date
E

ExcelMonkey

I have a pie chart. I have an active X drop down box which choose
between values "1-5". The chosen number is exported to a Data Sheet.
Within that data sheet, I have various data series that I want t
chart. I want to be able to write a VBA macro that copy and pastes th
desired data series based on the number that gets exported from th
Active X drop down list. I am assuming that I have to do this within
"change event" in the data sheet itself. So when "1" gets exporte
from the data list, the macro will copy and paste the series associate
with "1" into an active range for the chart. Note that the ranges var
for the different series. I will paste them into an active range whic
has a dynamic name which feeds up to the chart to ensure prope
charting.

Does anyone know how to write this macro? Can a "change event" b
triggered by a cell which has a value exported from an active X dro
down box? Or does the change have to be a result of a formula.

Thank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top