Instead of needing the Labeler during automation, you should set up an
invariant range for the labels. Make the range larger than you think
you'll ever need, so for example if you think you'll need 50 labels, use
H1:H100 for these labels. Then make your chart using 100 dummy data
points. Use the Labeler to assign the labels in H1:H100 to the series.
Your automation now should change the contents of H1:H100 as it changes
the data in the source data range. It might be more convenient to use
ranges for chart data like the range used for labels.
- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/
Rcarper wrote:
> I'm currently working to try to automate a process in which I have a steadily
> growing list of values that are graphed, then assigned varying degrees of
> error. I limit the list of values shown in the graph so my graph isn't
> overloaded with information. These charts need 'lab codes', which are unique
> 2 letter designations, placed into them so that they are above the original
> point and the error bars. I'm not very good at programming and am using
> Appspro's Data labeler, but need to be able to call this add-in during the
> automation. I'm not sure how to call this or if I need to just write a new
> sub routine, but want to call this, automatically chose the area graphed, and
> then move the labels above their respective error bars.
>
> Thank you