View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Kevin H. Stecyk Kevin H. Stecyk is offline
external usenet poster
 
Posts: 12
Default Delete Specific Sheets

"JLGWhiz" wrote in message

If wsSheet.Range(sSheetType).Value = "Project" Or "Summary" Then

Try:

If wsSheet.Range(sSheetType).Value = "Project" Or _
wsSheet.Range(sSheetType).Value = "Summary" Then


Yes, that solved my problem. Thank you!

Best regards,
Kevin