By the help of following command in Excel Blank the Cell if Zero
e.g. i = 30
oXs.Range('Z5:'+ 'Z'+ALLTRIM(STR(i))).NumberFormat = '0;-0;;@'
But it will also remove the decimals
What is the way to protect decimals and as well as blank if cell has zero value