I have an Excel like shown below which is a sharedExcel.

Now i should not allow paste option for the rows which have backcolour as GRAY(These are not fixed at runtime any row may get GRAY colour). As it sharedExcel and i can’t use the Lock property. Any help wouls be appreciated greatly.
After spending some time on this problem i have coded following lines. It work’s fine. Here i have taken another spreadsheet called PasteSheet for coding purpose but i am not showing it to user at any moment.
End Sub