Hi,
The attached workbook uses VBA code which allows the modification of the data range for the embedded chart. Admittedly, I did not create this workbook or the VBA code, but upon finding it in my Excel archives, I thought that it could be useful for a current project.
Although the code seems simple, it uses syntax that I have no familiarity or experience with; OLEFormat.
A snippet of the code:
Setting the chart data range is easy, somewhat. Cell B2 OR the scrollbar set the data start value. The data end value is a little less straightforward. Cell B3 sets the length of the data displayed from the data start value.Please Login or Register to view this content.
In order to make the setting of the data range more intuitive, I would like to continue to use Cell B2 OR the scrollbar set the data start value. The functionality I would like to change is to use the value in Cell B3 to set the data end value.
I've hacked at this code and cannot figure out how to make the needed changes to the VBA.
Any suggestions?
Thanks,
Art
Bookmarks