Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default Dynamic charting; Diff between exec 2000 and 2007

Oh Wise Ones,

I may have posed this question before, but has anyone else noticed a
difference in the way Excel 2000/Win2000 and Excel 2007/XpPro handle dynamic
charting?
I use application.calculatefull to update my sheet. The numbers in the
columns change, but the chart will not update- it maintains the last number
until i call "refresh sheet" from the dropdown menu that accompanies the
addin that handles the SQL calls. That is with excel 2007. A different
machine running the EXACT same worksheet running excel 2000 updates the chart
continuously while the macro is running. Why the difference? And how can I
replicate "refresh sheet" from the password protected addin?

Thanks,
Mike

My macro in a general module

Dim KeepRefreshing As Boolean
Sub StopRefresh()
Range("A2").Select
With Selection.Interior
.ColorIndex = 3
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
End With
Range("E2").Select
KeepRefreshing = False
End Sub
Sub AutomaticRefresh()
If KeepRefreshing Then
Application.OnTime Now + TimeValue("00:00:02"), "RefreshThisSheet"
'Application.Caption = Sheets("Lab").Range("A50").Value
End If
End Sub
Sub StartAutoRefresh()
' This function sets it all going, by setting the flag and
' making the initial call to RefreshThisSheet
Range("A2").Select
With Selection.Interior
.ColorIndex = 50
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
End With
Range("E2").Select
KeepRefreshing = True
RefreshThisSheet
End Sub
Sub RefreshThisSheet()
' This function refreshes the sheet, and then calls the
AutomaticRefresh
' function, which will call it back in a couple of seconds
Application.ScreenUpdating = True
Application.CalculateFull
AutomaticRefresh
End Sub








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 charting [email protected] Charts and Charting in Excel 1 December 3rd 07 08:05 PM
Excel 2007 and dynamic charting smaruzzi Charts and Charting in Excel 5 June 17th 07 07:19 PM
Dynamic charting widman Charts and Charting in Excel 2 October 26th 06 11:00 PM
Dynamic Charting stone-man Excel Programming 2 October 23rd 06 10:01 PM
Dynamic Charting sergv Excel Discussion (Misc queries) 2 September 2nd 05 04:43 PM


All times are GMT +1. The time now is 05:33 AM.

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

About Us

"It's about Microsoft Excel"