View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
PB PB is offline
external usenet poster
 
Posts: 4
Default 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