Solved

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

Posted on 2012-03-09
6
565 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 - Microsoft MVP, Access and Data Platform) 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

749 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