トップページ(目次)

581.指定文字が何列目にあるのか探して取得する

<実行前後>
 → 
Sub 指定文字が何列目にあるのか探して取得する()
    
    検索文字列 = "いいい"
    
    何列目 = Range("1:1").Find(What:=検索文字列, LookAt:=xlWhole).Column
    
    MsgBox 何列目
    
End Sub

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