Solved

Clicked X on custom toolbar in Access 2007 - cannot get it back

Posted on 2012-03-09
6
519 Views
Last Modified: 2012-03-09
I have a database with a toolbar menu that was created in Access 2003. A user clicked and dragged the menu off of the top part of the window then clicked X to close it. I cannot figure out how to get the menu back on their machine.

The menu bar is a 2003 style, and incorperated within 2007.

I attached some images to show how it was removed from the screen.

Thanks for the help ahead of time!

Dan
CUSTOMMENUIMAGES.png
0
Comment
Question by:filtrationproducts
  • 2
  • 2
  • 2
6 Comments
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 150 total points
ID: 37703109
In vba


Commandbars("youcommandbar").visible = true
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 350 total points
ID: 37703110
Put these two lines of code in a VBA Function, then call that function from the VBA Immediate window.

   CommandBars("YourMenuBarName").Enabled = True
   CommandBars("YourMenuBarName").Visible = True

mx
0
 
LVL 1

Author Comment

by:filtrationproducts
ID: 37703154
I tried it but i get the following error;

Runtime Error 5
invalid procedure call or argument
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 1

Author Comment

by:filtrationproducts
ID: 37703162
Wait that worked!
0
 
LVL 61

Expert Comment

by:mbizup
ID: 37703163
What the name of your custom commandbar menu?
0
 
LVL 75
ID: 37703176
Twice within 2 hours - almost same situation came up, with same solution.

mx
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Outlook Free & Paid Tools
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now