hello
I have code extract data from two sheets , but the problem deletes the borders.
I try using PasteSpecial xlFormats but doesn't work . seem wrong way what I use it .
the range from column A: H when extract data in sheet MASTER .
this the part of code with bold what I try
With Sheets("MASTER")
.Range("A2:H" & lrP).Clear
.Range("A2").Resize(k, 8).Value = arr
.Range("E2").Resize(k, 4).Interior.Color = vbYellow
.Range("E2").Resize(k, 4).SpecialCells(xlBlanks).Interior.ColorIndex = 0
.Range("A2:H" & lrP).PasteSpecial xlFormats
End With
if you need the whole code I will post it
thanks in advance