Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Insert Copied Cells Macro

Mods, please close.

2 Replies
Anonymous
Not applicable
Author

Hi

Please delete  "red color cells"

and

after  



objSheet.PasteSpecial(xlPasteValues)

  lrow = objSheet.Range("B10000").END(xlup).row   'for finding lastrow after the data copied

Range(Cells(lrow, 2), Cells(lrow + 1, 9)).Select   'selecting two last rows

Selection.Interior.color = vbred    ' formatting as red cells

Not applicable
Author

Not quite what I wanted but thanks anyway.