Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Insert Copied Cells Macro

Mods, please close.

Labels (1)
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.