ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Limited help from err message (https://www.excelbanter.com/excel-programming/290156-limited-help-err-message.html)

rci

Limited help from err message
 


Hi all,

got little help from an error message that I gather (from google) is pretty
ra

External Data Source Failed to Connect.

it happens when I execute this line for the *second* time:

oChart.SetData cChartConstants.chDimCategories, 0, "a2:" & LastRow

It binds the specified constant to a specific set of cells on oChart.

My guess is that the problem stems from rebinding.... but I need to somehow
alter the range of data bound... and I can't figure out how to do this, and
also avoid re-executing the SetData method on chDimCategories in the event
that they are already bound (I guess I need to devise a test).


This is all in relation to Office Web Controls, in case that matters.

Thanks again for your generous help...

Mike


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com