I have code like this to prepare summary from another sheet.
For K = 2 To Sheets(I).Cells.SpecialCells(xlLastCell).Row
Range("A" + Format(J)).FormulaR1C1 = "='" + a$ + "'!R" + Format(K) + "C1"
Range("B" + Format(J)).FormulaR1C1 = "='" + a$ + "'!R" + Format(K) + "C2"
Range("C" + Format(J)).FormulaR1C1 = "='" + a$ + "'!R" + Format(K) + "C3"
Range("D" + Format(J)).FormulaR1C1 = "='" + a$ + "'!R" + Format(K) + "C4"
J = J + 1
It works well, except format issue. Wherever there is no data, it shows 0. I need blank instead of zero.
Can you please fix this issue
Thanks
For K = 2 To Sheets(I).Cells.SpecialCells(xlLastCell).Row
Range("A" + Format(J)).FormulaR1C1 = "='" + a$ + "'!R" + Format(K) + "C1"
Range("B" + Format(J)).FormulaR1C1 = "='" + a$ + "'!R" + Format(K) + "C2"
Range("C" + Format(J)).FormulaR1C1 = "='" + a$ + "'!R" + Format(K) + "C3"
Range("D" + Format(J)).FormulaR1C1 = "='" + a$ + "'!R" + Format(K) + "C4"
J = J + 1
It works well, except format issue. Wherever there is no data, it shows 0. I need blank instead of zero.
Can you please fix this issue
Thanks