Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
そのため、左の関数を使用して文字列の最初の4文字を取得し、それを使用してvlookupを実行する必要がありますが、数値を調べているため、一致するものが見つかりません。
これをマクロで実行したいので、構文がわかりません。誰かが助けることができますか?
val()関数を使用する
たとえば、x = 5 が文字列として格納されている場合は、次のようにすることもできます。
x = x + 0
新しい x は数値として格納されます。