Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Working with Charts

I am new to VBA programming for Excel, and I need some help on how to
accomplish the following:

I have an existing spreadsheet with 5 charts. I would like to create
option buttons to allow the user to see one chart at a time.
Currently all the charts are displayed on one worksheet, and various
inputs in the workbook affect the charts. When I code Option Button
Click, how do I manage to display the different charts for the
different buttons. Any tips or suggestions would be greatly
appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.misc
external usenet poster
 
Posts: 510
Default Working with Charts

Hi

Much depends on charts (are they similar or very different), but probably
you can have a single chart, which datasource is modified accordingly the
selection from data validation drop-down on sheet. You can :
a) use a hidden table as datasource for chart - data in source table depends
on selected option(s);
b) use dynamic ranges as sources for series - range definitions depend on
selected option(s);
c) modify chart datasource (and/or chart type) through VBA code - with
selected option(s) as parameters. You have to use a procedure or worksheet's
Change event for this.

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"J. Stone" wrote in message
om...
I am new to VBA programming for Excel, and I need some help on how to
accomplish the following:

I have an existing spreadsheet with 5 charts. I would like to create
option buttons to allow the user to see one chart at a time.
Currently all the charts are displayed on one worksheet, and various
inputs in the workbook affect the charts. When I code Option Button
Click, how do I manage to display the different charts for the
different buttons. Any tips or suggestions would be greatly
appreciated.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Charts on Web not working [email protected] Charts and Charting in Excel 0 August 7th 06 08:07 AM
Working with two charts LESLEY EDWARDS New Users to Excel 1 May 9th 06 06:40 AM
Working with Charts J. Stone Excel Discussion (Misc queries) 1 April 6th 05 09:06 AM
Working with Charts yet again George Raft Excel Programming 2 December 27th 04 09:26 PM
Working with Charts George Raft Excel Programming 1 December 22nd 04 10:24 PM


All times are GMT +1. The time now is 09:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"