Archive of Mr Excel Message Board

Check out Bill's new book on Charts and
Graphs for Microsoft Office Excel 2007
Back to Charting for Excel archive index
Back to archive home

Charting Data Based on the active cell
Posted by Brian P on April 19, 2001 9:43 AM
My macro creates a new worksheet report with graphs and data. I want to be able to attach a macro that allows the chart data to change based on the active cell. My problem is that the macro needs to be located (I think) in the code module for the new worksheet. How do I create a macro in the code module for the new sheet using a macro? I thought someone asked a similar question before but I couldn't locate it. Thanks!!!

I figured out how to have code write code! Yeah!
Posted by Brian P on April 19, 2001 4:50 PM

This archive is from the original message board at www.MrExcel.com.
All contents © 1998-2004 MrExcel.com.
Visit our
online store to buy searchable CD's with thousands of VBA and Excel answers.
Microsoft Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.