Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[blue] If Shift = acCtrlMask And KeyCode = vbKeyC Then KeyCode = 0[/blue]
Its easier to disable the [blue]Cut & Copy[/blue] popup selections. However be aware: [purple]the popup is an access system menu and will be set for all databases you open[/purple]. To keep things in order you need to put them back before you leave the current db. On or off this is easily done.tobymom said:[blue] . . . do you know how to disable "right click"? [purple]I can still right click on the top-left corner then copy the whole Datasheet and paste it into excel.[/purple][/blue]
[blue]Public Sub CutCopyCtl(Show As Boolean)
Dim CBar As Object
Set CBar = CommandBars("Form Datasheet Row")
CBar.Controls("Cut").Enabled = Show
CBar.Controls("Copy").Enabled = Show
Set CBar = Nothing
End Sub[/blue]
[blue] Call CutCopyCtl(True) [green]'enable selections[/green]
Call CutCopyCtl(False) [green]'disable selections[/green][/blue]
[blue] If Shift = acCtrlMask Then
If KeyCode = vbKeyC Or KeyCode = vbKeyX Then KeyCode = 0
End If[/blue]