G 
		
								
				
				
			
		Gustaf
Hi all,
I'm having a problem at the last line of this code:
For Each ws In Workbooks(sFile).Sheets
If ... Then
cboSheet.AddItem ws.Name
End If
Next
The problem occurs when I step into a chart sheet, which results in a type mismatch error. Why does that happen how do you handle that?
Gustaf
				
			I'm having a problem at the last line of this code:
For Each ws In Workbooks(sFile).Sheets
If ... Then
cboSheet.AddItem ws.Name
End If
Next
The problem occurs when I step into a chart sheet, which results in a type mismatch error. Why does that happen how do you handle that?
Gustaf
 
	