Open MyForm and Hide application make only Form Visible, is this possible like in excel?

pedie

Well-known Member
Joined
Apr 28, 2010
Messages
3,875
Hi, can I make vba open MyForm and Hide application...
Make only Form Visible, is this possible like in excel?
If yes what is the event i need to use and how to code in access?


Please help. Thanks in advance.

It is quite easy in Excel
Code:
[/FONT]
[FONT=Courier New]Option Explicit[/FONT]
[FONT=Courier New]Private Sub Workbook_Open()
 Userform1.Show
 Application.Visible = False
End Sub
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Generally, no. You can hide objects such as tables and show only forms. You can also hide the navigation pane. This doesn't hide the entire application though.
ξ
 
Upvote 0
Hi Xen, hi Alan, thansk for letting me know that.
How do I set it to hide ribbon and show only form then?
And if user closes the form the whole application connected also closes. :)

Thanks again.
If explaining may take a longtime then a link of site would also be really great!!!
 
Upvote 0
hiding the navigation pane:
http://office.microsoft.com/en-us/access-help/show-or-hide-the-navigation-pane-HA010235717.aspx

This removes objects from view - as noted in the link, you will then have to provide navigation aids for your user (such as a switchboard). This is often done by a form that opens automatically at startup, with buttons to open other forms. Or for a very simple application, perhaps the user only needs to see a single form or table when the database opens, and that is what you show at startup.

startup forms:
http://office.microsoft.com/en-us/a...-data-access-page-at-startup-HP005188501.aspx
http://www.techonthenet.com/access/forms/startup.php
 
Upvote 0
Xen, exactly what I was looking for thanks alot! I didnt know at all how access works then. I was relating to excel [Norie once told me not to but can't help when there is no idea at all how to proceed...]

Thanks again.

Hmmm, I have seen someone do this but not sure how to completely hide/not show the back part of access/table..just the form...

Is there a link for that too?:)

Thanks again
 
Upvote 0
As Xenou indicated, if you hide navigation, then the objects are not available to the user. To hide the ribbon, click on the Office Button in 2007 and I think File in 2010. Then go to Options and This database. From there are option buttons to turn on and off certain features in Access.

Alan
 
Upvote 0
As Xenou indicated, if you hide navigation, then the objects are not available to the user. To hide the ribbon, click on the Office Button in 2007 and I think File in 2010. Then go to Options and This database. From there are option buttons to turn on and off certain features in Access.



Thanks again. Almost everything...but home tab wont go...when i minimize tab looks better but want to hide home tab too.
And one more thing. I want the form to pop up but it opens as a page, how can i make it pop up?
 
Upvote 0
I don't know how to make the Home tab go away. I have not been able to do that. I did read about customizing ribbons awhile ago. I will search for that link and add to this thread. Found this: http://www.access-programmers.co.uk/forums/showthread.php?t=151711

In the same section that you removed the ribbon, there is an option to show the objects as Tabs, uncheck that box.

Alan
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,292
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top