Hello guys,
So i have a huge spreadsheet and a huge macro.
It's basically a huge stocklist. Part of the code i'm using is :
That basically means that if i have 0 stock , then delivery time is 0,
And if stock is different from 0, delivery time should be 5.
Problem is, the code works and sets 0 for stocks that are 0, but ALSO for stocks that include 0. So that means that if i have 205, 190 or 2803 units in stock, the macro will see that 0 there and will set 0 delivery date.
Any idea how to fix this ?
Also, after this stocklist is copied on a different sheet, i use the below code to set all the lines that had 0 as delivery time as Y on a different column (basically it says it's 0 stock, so it's a YES for Out of stock)
Problem is that it displays Y where it should, and 0 elsewhere. Is there a way i can make it to display only Y for true , and nothing for false?
Any help would be greatly appreciated.
Thanks,
Alex
Bookmarks