Solved

Select Case as macro

Posted on 2008-10-29
4
397 Views
Last Modified: 2012-06-27
Is there a way to do Select Case in a Macro?  Or if I Have a message saying do you want to run this and they say not it will stop the rest of the macro from running?

2007 is createing macro when I create a button to run a query, but I am not real sure how to do some of the things I used to do in code.  

Thanks, Pat
0
Comment
Question by:PatKung
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 75
ID: 22835057
I *think* ... that in A2007, something like this can now be done.  I don't have A2007 loaded at the moment.

mx
0
 
LVL 44

Accepted Solution

by:
GRayL earned 500 total points
ID: 22836190
Why not use the macro to RunCode?  And the function named in RunCode has the Select Case?
0
 

Author Comment

by:PatKung
ID: 22859154
That should work.  

Thanks, Pat
0
 
LVL 44

Expert Comment

by:GRayL
ID: 22859496
Thanks, glad to help.

Ray
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

739 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