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.
Excel VBAを使用して1つの列を除くすべての行を削除/クリアするにはどうすればよいですか?
追加情報:Accessデータベースからインポートしている他の列の値を使用して特定のものを計算する数式を含む1つの列があります。
1つの列の数式を削除したくないが、他のすべてを削除したい場合の回避策はありますか?
SpecialCells特定のタイプのセルのみを返すために使用します
SpecialCells
すべての定数を削除するには、次を使用します。
ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants).ClearContents