Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I see it Jim
-- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "Jim Chandler" wrote in message ... Well - I figured out the difference of what I had and what you posted. It's Worksheets, not Sheets. Thanks for putting up with my synaptic overload. Jim -----Original Message----- Hi Jim Show your other code Jim that is in this sub -- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "Jim Chandler" wrote in message ... -----Original Message----- Try this Dim theSheet As Worksheet For Each theSheet In ThisWorkbook.Worksheets 'Do some code... Next theSheet -- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "Jim Chandler" wrote in message ... 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 . Okay - My mistake, I transposed (right word?) the code wrong it is actually "thisworkbook.worksheets" Jim . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|