Is there a way of producing a printout of an Access macro (or all macros in the database) using VBA, ideally one line per command for documentation purposes?
Many thanks for any help.
5 2137 NeoPa 32,579
Recognized Expert Moderator MVP
Have a look at the Documenter feature. Tools / Analyse / Documenter
This should give you everything you need without needing to resort to programming anything.
Thanks, but when using that option, it produces a listing with approx. 4 entries per page, and not very readable at that.
NeoPa 32,579
Recognized Expert Moderator MVP
Can you attach an example. You can produce it in RTF for opening in Word, but either format will do to look at.
My recollection is that there are a whole bunch of options available. It may just be a case of choosing the right ones.
I've uploaded a .txt file, becauseof size restrictions here. I've also had to remove a lot of the spacing in between the entries. The entries represent one pageful which is produced - I only wanted the coding bits, i.e. commands, operands, parameters, etc.
I've found coding previously which allowed access to queries (QueryDef/qdf, etc.) so I'm hoping to find something similar for macros.
NeoPa 32,579
Recognized Expert Moderator MVP
If the documenter is not good for you, then we should have a look at what's available in code.
CodeProject.All Macros & CurrentProject. AllMacros both give access to the name and certain basic properties. Neither seems to have the attributes you would require (the design of the macro itself). If I find anything else I'll post.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Pete |
last post by:
In Access 95/97 I used to be able to create pull down menus (File,Edit
...) from a macro. It seems there used to be some wizard for that.
However in Access 2000 it seems you have to build your menus by
customizing a toolbar. With this method you have to create a separate
macro for every single menu and sub menu. The old method would allow
me to include several menus (File/ print/ page setup ...) all within
one macro. Now it seems I...
|
by: ImraneA |
last post by:
Hi there
Have a database, where front-end interface allows user to select a ms
access database. From there, standard tables are linked. Routine,
that creates a spreadsheet, for each table a separate sheet within
spreadsheet is created. Particular fields are selected.
User requires fields to be auto-fitted. Problem, is that some tables
have more than 1200> rows. Code generates error message. Is there a
way of getting around this...
|
by: Art |
last post by:
Hi everyone
I was hoping someone might be able to help me with this. I'm just starting to try to work with MS Access tables through VB.net. In Access I can take an existing table and add a new field with the type AutoNumber. I can then set this up as a key. Then if I go into the table I will see sequential numbers have been inserted into that field for me. Can I do this through VB.net
I'd appreciate any help or alternative suggestions...
|
by: Charlie |
last post by:
I am fairly new to VB.NET and was wondering if anyone knew where to find a
complete listing of the namespaces in VB.NET and MSDN Library. I would
really like to see a listing or a "catalog" of them.....
Thank you for your time and effort,
~Charlie
|
by: sammyloo |
last post by:
Hi all,
I'm experiencing a problem using ASP.NET web services to access a
different server with SQL Server 2000 database.
And I get the error of the following
Exception Details: System.Data.SqlClient.SqlException: SQL Server does
not exist or access denied.
| |
by: BrianDP |
last post by:
I have a table that has always been in my back-end of this application.
The table is getting quite large, and, on top of that, we lose records
out of this table. They just dissappear! No rhyme or reason to it.
I imported the table into SQL, and re-linked it back into the front end
of the application. All the fields show. I had to pick a primary key,
which is fine, it's a text field (nvarchar 255), and it is indeed a
unique value.
...
|
by: Laurence |
last post by:
Hi folks,
I used the following CLP commands to access DB2/400 in AIX 5L/DB2 EE,
and it works.
CATALOG TCPIP NODE AS400 REMOTE 192.168.10.51 SERVER 446 SYSTEM
PROD400 OSTYPE OS400
CATALOG DB PROD400 AT NODE AS400 AUTHENTICATION SERVER
|
by: HannibalLecher |
last post by:
I have created a catalog in Publisher 2K, and used the mail merge to access the fields in my existing access 2000 database. The merge works, but only accesses one record at a time. It will print the entire catalog with the same entry in every position, and then print another catalog for each database entry. Under Word 2k there is a <<nextrecord>> command, but it doesn't appear to function under Publisher. The Microsoft website has led me to...
|
by: Jeffrey Davis |
last post by:
I'm hoping that someone here can give me some assistance with a
database I'm trying to set up. My skills in Access are fairly basic,
and I'm trying to skill up, but some of the stuff is a little opaque.
I'm trying to put some data I've got on paper into Access. Recently,
I
got together with some other people marketing organic produce and
offered to do some marketing for us on a coop basis in the city.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |