frimy
asked on
Access 2010
Hello All,
How do I hide the Navigation Pane in Acc 2010?
when ever i use to import Excel file into my database using,
DoCmd.TransferSpreadsheet acLink, acSpreadsheetTypeExcel8, "TBLname", wImportName, True
the navigation pane opens.
Thanks
How do I hide the Navigation Pane in Acc 2010?
when ever i use to import Excel file into my database using,
DoCmd.TransferSpreadsheet acLink, acSpreadsheetTypeExcel8, "TBLname", wImportName, True
the navigation pane opens.
Thanks
ASKER
Thanks Bembi
DoCmd.NavigateTo ("acNavigationCategoryObjectType")
DoCmd.RunCommand (acCmdWindowHide)
the DoCmd.Minimize, does work
but the, DoCmd.RunCommand (acCmdWindowHide),
doesn't work it closes the current form but doesn't hide the pane.
can you tell what's the problem?
thanks
DoCmd.NavigateTo ("acNavigationCategoryObjectType")
DoCmd.RunCommand (acCmdWindowHide)
the DoCmd.Minimize, does work
but the, DoCmd.RunCommand (acCmdWindowHide),
doesn't work it closes the current form but doesn't hide the pane.
can you tell what's the problem?
thanks
ASKER
Bembi,
i see already the DoCmd.NavigateTo ("acNavigationCategoryObjectType")
only works to minimize but not hide the pane.
what can we do?
i see already the DoCmd.NavigateTo ("acNavigationCategoryObjectType")
only works to minimize but not hide the pane.
what can we do?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
there is no way to avoid it, but you can deal with the navigation pane...
DoCmd.NavigateTo ("acNavigationCategoryObjectType")
DoCmd.Minimize
to minimize the pane...
DoCmd.NavigateTo ("acNavigationCategoryObjectType")
DoCmd.RunCommand (acCmdWindowHide)
to hide the pane.