Discussion Locked

Hide Access Window

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have developed an Access database with a rather complexe UI. Everything is good except one nagging issue, hiding the access pane.

Do to the layout of the UI, the Access window is not needed. I have attempted to use the access.application.visible = false property with only errors.

I would like to be able to hide all things Access and present only the UI I have developed.

Thanks,

5 replies

by dwdino

Thanks, this is exactly what I needed.

After some modification the code by Dav worked wonderfully.

by r. a. caluste

I use this code to hide the access pane.

in your startup form insert this code:

Private Sub Form_Open(Cancel As Integer)
HideWindow
End Sub

add a module with this code:

Sub HideWindow()
DoCmd.SelectObject acTable, , True
DoCmd.RunCommand acCmdWindowHide
End Sub

works well for me. it hides the main access pane when the startup form opens.

This discussion is closed to new replies.