0

Instead of making this check:
if foo <> 0 then
wks.cell(1,1) = foo
end if
I have decided to make a function that looks like this, in order to write foo just once:
WriteIfNotZero wks.cells(1,1), foo
Any ideas how to improve the function? Currently it is without error handling, as it is handle...