try changing:
Set MKPRng = Selection.SpecialCells(xlCellTypeVisible)
to:
Set MKPRng = MKPRng.SpecialCells(xlCellTypeVisible)
(untested).