View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jim Chandler Jim Chandler is offline
external usenet poster
 
Posts: 3
Default For each next choking.

Greetings,

Here is my problem I have code similar to the following

Dim theSheet as WorkSheet

For each theSheet in thisWorkBook
Do some code...
next theSheet

It runs the first iteration fine, but the second iteration
gives me a runtime error "type mismatch".

What I have discovered, is the second sheet is a chart.
I've moved the chart and the choke time changes, so I know
that is an issue with the chart. But I need to know what
I can do to correct this. Any help in pointing me in the
right direction would be greatly appreciated. And anyone
who just plain gives me the right answer I'll name my
first born after ;-).

Thanks,
Jim