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.
タイトルとして、私が試したいくつかの解決策がありますが、それらのすべてが機能しませんでした。
XLApp.Application.cells[1, 1].Value := ''; XLApp.Application.cells[1, 1].Value := nil; XLApp.Application.cells[1, 1].Value := EmptyParam;
セルの内容をクリアするために使用できるバリアント値は ですUnassigned。
Unassigned
Cells[1,1].Value := Unassigned;
Clearまたは、セルでメソッドを使用することもできます。
Clear
Cells[1,1].Clear;
個人的には後者の方が読みやすいと思います。