Have you tried using: SendKeys "{Delete}"
One way would be to add a menu with the Menu Editor. Then you can add a DataGridMenu which could include Copy, Cut, Delete, Paste, etc...
After this is done, the user can right click with the Mouse Down function on the data grid, and then click the Delete menu item.
Then you use the sendkeys command to send the "Delete" key.
Example:
Private Sub DataGrid1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
If Me.DataGrid1.Columns(0).CellText(Me.DataGrid1.Bookmark) = "" Then
Me.mnuPunchCopy.Enabled = False
Me.mnuPunchCut.Enabled = False
Else
Me.mnuPunchCopy.Enabled = True
Me.mnuPunchCut.Enabled = True
End If
PopupMenu mnuPunchList
End If
End Sub
Private Sub mnuPunchCut_Click()
Call mnuPunchCopy_Click 'copy into array for paste later
SendKeys "{Delete}" 'delete key
End Sub