Hi,
I am struggling with the following.
I have button to show/hide navigation pane:
Private Sub NavWindow_Click()
DoCmd.SelectObject acTable, , True
End Sub
Private Sub NavWindow_DblClick(Cancel As Integer)
DoCmd.SelectObject acTable, , True
DoCmd.RunCommand acCmdWindowHide
End Sub
It works all right. However i would like to have a macro if possible to do the same, so i would be able to "put" that macro into the ribbon.
Is there a solution for it?
thanks
Andrew
I am struggling with the following.
I have button to show/hide navigation pane:
Private Sub NavWindow_Click()
DoCmd.SelectObject acTable, , True
End Sub
Private Sub NavWindow_DblClick(Cancel As Integer)
DoCmd.SelectObject acTable, , True
DoCmd.RunCommand acCmdWindowHide
End Sub
It works all right. However i would like to have a macro if possible to do the same, so i would be able to "put" that macro into the ribbon.
Is there a solution for it?
thanks
Andrew