トップページ(目次)

258.シートがあるか確認する

<実行前後>
 → 
Sub シートがあるか確認する()

    For Each シート In Worksheets
    
        If シート.Name = "Sheet1" Then
        
            MsgBox "Sheet1はあります"
        
        End If
        
    Next シート

End Sub

Copyright © 2021 https://excel3000.web.fc2.com/ All Rights Reserved.
    inserted by FC2 system