Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
Milo
 
Posts: n/a
Default Make dynamic charts more dynamic

Hello all,

I have a dynamic chart where I show the last 13 values in a spreadsheet
column. I also
implemented a slider bar so that I can go back and have a look at the
previous values if I want.
However, if I now daily update the column of data through an automated
process and the chart
shifts along dynamically, how do I also update the format controls of the
slider bar using VBA automatically,
that is, how do I adjust the maximum value of the format control as soon as
a new value is added to the spreadsheet?

Hope someone can help, thanks you.
Milos.
  #2   Report Post  
Posted to microsoft.public.excel.charting
Andy Pope
 
Posts: n/a
Default Make dynamic charts more dynamic

Hi,

Depending on which type of slider you have used this syntax, with
appropriate modifications, should do it.

' Scrollbar from FORMS toolbar
ActiveSheet.Shapes("Scroll Bar 1").ControlFormat.Max = 20

' Scrollbar from CONTROLS TOOLBOX toolbar
ActiveSheet.Shapes("ScrollBar1").OLEFormat.Object. Object.Max = 20

Cheers
Andy

Milo wrote:
Hello all,

I have a dynamic chart where I show the last 13 values in a spreadsheet
column. I also
implemented a slider bar so that I can go back and have a look at the
previous values if I want.
However, if I now daily update the column of data through an automated
process and the chart
shifts along dynamically, how do I also update the format controls of the
slider bar using VBA automatically,
that is, how do I adjust the maximum value of the format control as soon as
a new value is added to the spreadsheet?

Hope someone can help, thanks you.
Milos.


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
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
Dynamic Charts Mark Ivey Charts and Charting in Excel 4 November 22nd 05 12:22 AM
Can't create dynamic charts Brian Sells Charts and Charting in Excel 7 March 22nd 05 04:23 AM
Dynamic Charts Brian Sells Excel Discussion (Misc queries) 2 March 15th 05 12:09 PM
Can I post dynamic line charts by swapping out .cvs files??? red_1953 Charts and Charting in Excel 4 February 6th 05 03:33 PM
PivotChart: how to make it dynamic? Valeria Charts and Charting in Excel 1 December 16th 04 01:02 PM


All times are GMT +1. The time now is 02:21 PM.

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"