Solved

SIMPLE!!

Posted on 1998-12-10
2
137 Views
Last Modified: 2010-05-03
I want to be able to click a button and have a menu header display the options below it. For example, click a command button (not the menu header itself) and the options within the FILE menu header be displayed (NEW, OPEN, SAVE, etc.). This sounds like a simple command request, but I've tried repeatedly to no avail. Any suggestions??
0
Comment
Question by:KeithAtWork
2 Comments
 
LVL 1

Accepted Solution

by:
TDragon earned 50 total points
ID: 1449373
Use the SendKeys command as follows...

Private Sub Command1_Click()
    SendKeys "%F", True
End Sub

Of course this requires the Keyboard access key of 'F' for your File Menu.
0
 

Author Comment

by:KeithAtWork
ID: 1449374
Thanks, it worked fine.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MsgBox 2 59
message box in access 4 51
Convert VB6 MSXML2.ServerXMLHTTP process to C# 2 58
Need Nag Screen for Reboot if system up time is over 14 days 12 62
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

828 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