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.
POI.how を使用して列を含む列を残して、列からデータを削除しようとしている XLSM ワークブックで作業しています。
質問を明確にしていただけますか。数式を含まないワークシート上のすべてのセルの内容を削除する vba コードをお探しですか?
次のコードは、範囲 A1:Z100 からすべての非数式を削除します
for each c in Range("A1:Z100").cells If c.HasFormula = False then c.ClearContents next
お役に立てれば :)