473,395 Members | 1,556 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Disable macros?

Has anyone ever come up with a way to disable macro creation within MS
Access? Not just on a project level, but to prevent macros from being
created and/or ran on a particular PC or by a particular user.

It doesn't really matter whether macros can still be ran, just need to
prevent certain users from being able to create them. (Or vice versa, if
they can create macros but not run them, that accomplishes the same thing).
The kicker is that there is VBA code in some of our apps that will still
need to run.

I'm asking in particular about Access XP, but I'd love to hear from anyone
that's been able to pull it off in any version.
Nov 13 '05 #1
2 2674
Billy R. Moon wrote:
Has anyone ever come up with a way to disable macro creation within MS
Access? Not just on a project level, but to prevent macros from being
created and/or ran on a particular PC or by a particular user.

It doesn't really matter whether macros can still be ran, just need to
prevent certain users from being able to create them. (Or vice versa,
if they can create macros but not run them, that accomplishes the
same thing). The kicker is that there is VBA code in some of our apps
that will still need to run.

I'm asking in particular about Access XP, but I'd love to hear from
anyone that's been able to pull it off in any version.


Distribute an .MDE version of your database?
--
regards,

Bradley
Nov 13 '05 #2
We need to disable the capability for ALL databases, not just for a
particular project. The idea is to prevent non-programmers from being able
to create 'applications' using macros that will be difficult to maintain.

"Bradley" <br*****@REMOVETHIScomcen.com.au> wrote in message
news:jb****************@news-server.bigpond.net.au...
Billy R. Moon wrote:
Has anyone ever come up with a way to disable macro creation within MS
Access? Not just on a project level, but to prevent macros from being
created and/or ran on a particular PC or by a particular user.

It doesn't really matter whether macros can still be ran, just need to
prevent certain users from being able to create them. (Or vice versa,
if they can create macros but not run them, that accomplishes the
same thing). The kicker is that there is VBA code in some of our apps
that will still need to run.

I'm asking in particular about Access XP, but I'd love to hear from
anyone that's been able to pull it off in any version.


Distribute an .MDE version of your database?
--
regards,

Bradley

Nov 13 '05 #3

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

Similar topics

21
by: Chris Reedy | last post by:
For everyone - Apologies for the length of this message. If you don't want to look at the long example, you can skip to the end of the message. And for the Python gurus among you, if you can...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
37
by: michele.simionato | last post by:
Paul Rubin wrote: > How about macros? Some pretty horrible things have been done in C > programs with the C preprocessor. But there's a movememnt afloat to > add hygienic macros to Python. Got any...
1
by: Scott Wallace | last post by:
Anyone know how to disable macros when access an Excel file through automation? I have an Excel file that fires macros when it is opened. I need to automate reading values from the file through a...
1
by: Troy | last post by:
How do I answer the disable macro prompt automatically when opening an Excel workbook? We are using Excel 97 and 2002. In 2002 we want the Medium security (prompt user) to safeguard against e-mail...
11
by: Ejaz ul Haq | last post by:
Dear All, I have upgraded my source code from VS 2003 to VS 2005, and my code is breaking due to the _SECURE_ATL macro in some methods of ATL. As it is executed all the times though there is also...
6
by: Nicola Mezzetti | last post by:
Greetings, I write to ask information about how to disable the preprocessor checks on macros when compiling with command line Borland C++ compiler. Waiting for a reply, i thank you all for the...
0
by: sandeep ch | last post by:
hi , I am opening a excel sheet from perl but every time i run the program i get a pop up message saying that "This Workbook contains links to other sources" " - To update all linked information...
33
by: Robert Seacord | last post by:
When writing C99 code is a reasonable recommendation to use inline functions instead of macros? What sort of things is it still reasonable to do using macros? For example, is it reasonable to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
Oralloy
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.