ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Automation Error `-2147221080(800401a8)` (https://www.excelbanter.com/excel-programming/308913-automation-error-%60-2147221080-800401a8-%60.html)

PB

Automation Error `-2147221080(800401a8)`
 
Automation Error `-2147221080(800401a8)` alias smartness
costs too much

It cost me a day to cope with a simple line

ActiveChart.SeriesCollection.Add

in macro. As far as I innocently stuck to the avoidance of
repeating ActiveChart by With ActiveChart, the above error
appeared every time (xl2000). In the composed form it
worked. Take this please as a general warning and possibly
small notice to Microsoft.

Petr


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

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