473,473 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Is there an easy way to get a list of macros in a database?

I have the following code which gives me a list of all queries in a
database:

Private Sub cmdQueries_Click()
On Error Resume Next
Dim qry As QueryDef
Dim db As Database
Screen.MousePointer = 11
Set db = CurrentDb

cmboMulti.RowSource = ""

For Each qry In db.QueryDefs
If Left(qry.Name, 4) <"MSys" Then
cmboMulti.AddItem qry.Name
End If
Next
Screen.MousePointer = 0
End Sub

Is there an equivalent block of code which will give me a list of all
macros in a database?

Jun 27 '07 #1
1 1217
ManningFan wrote:
I'll be implimenting this
into the project I'm working on now.

Would you please explain how you intend to use the list of
macro names?
--
Marsh
Jun 27 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: seguso | last post by:
Hello, For the sake of efficiency, I have chosen C++ as the language for a "Free Adventure Construction Kit" I am developing (http://fack.sf.net). I am looking for a way to simulate list...
3
by: Momoko | last post by:
Hi, I have three Access Databases, say A, B and Main, in which data flows between Main and A, Main and B. Within A and B, there are macros that trigger computation within the databases. I need...
4
by: Robert McClenon | last post by:
I would like to know how to turn off the annoying warning about macros in a database. I maintain two databases on my home computer for my own use. Now that I am using Microsoft Access 2003,...
7
by: Kieran Simkin | last post by:
Hi all, I'm having some trouble with a linked list function and was wondering if anyone could shed any light on it. Basically I have a singly-linked list which stores pid numbers of a process's...
24
by: Robin Cole | last post by:
I'd like a code review if anyone has the time. The code implements a basic skip list library for generic use. I use the following header for debug macros: /* public.h - Public declarations and...
5
by: Little | last post by:
I have this program and I need to work on the test portion, which tests if a Val is in the list. It returns false no matter what could you look at the part and see what might need to be done to fix...
12
by: questions? | last post by:
I am testing a problem with linked list. I just do a lot of times: create a list, then free it. ############################################# # include <stdio.h> # include <stdlib.h> struct...
3
by: Isaac | last post by:
I have a database of employee's names -- if they are on a certain disciplinary level then a box called CAP is checked in the employee's name table. I have a form that has a combo list of...
8
by: dmp | last post by:
What are Linked list? Please somebody show some ready made programs of linked list
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.