LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I delete excel cells without shifting (in direction) the other cells

I am trying to delete the contents of cells in an Excel file with CVI. Cells contents are effectively deleted but the other cells are shifting in direction (up or left). I don't want to shift the others cells. How can I do?
Thanks for answer
0 Kudos
Message 1 of 2
(9,619 Views)
Hello,

The Delete function in ExcelReport.fp delete the cells and shift the other cells in the direction you chooses.
To clear the contents of the cells, the best is to use Excel_RangeClearContents function in Excel2000.fp library.
If you are familiar with VBA you will find the same function.
1) Select your range (one or multiple cells)
2) Call ClearContents

Hope this helps

Salissou ISSA
NI France
0 Kudos
Message 2 of 2
(9,573 Views)