Sorry for the delay but work got me humping. Thanks for everything.
i have another question. This code works great but when i click on the cell on the worksheet the formula bar shows the formula. and when i copy this cell to another sheet the formula copies instead of the value.
Range("AC3").Formula = ("=IFERROR(AD2/Y2,0)")
Range("AC3").Select
Selection.NumberFormat = "0%"
|