#1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 29
Default Substitute/Replace

I have been having great trouble with replwcing the series of existing
charts. I have the new data series for the charts but for some reason it is
quite difficult to get the charts to understand that they are supposed to
display these new values. The code is:

Do While k < (UBound(rng))
If Not IsEmpty(rng(k)) Then
ActiveChart.SeriesCollection(varWorksheetInfoArray (k)).Values =
Sheets(varWorksheetInfoArray(0)).Range(rng(k).Offs et(i, 0).Address & ":" &
rng(k).Offset(j, 0).Address)
Else: End If
k = k + 1
Loop

I have really spent I alot of time trying to solve thÃ*s . The code is
correct in the sense that it gives the right data series it is just the
charts that are not keen on updating. Is it perhaps better to use replace or
substitute?
Does anyone know how to aplly these methods to my code?


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



All times are GMT +1. The time now is 03:33 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"