473,395 Members | 1,681 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.

Diffrence between Macro & VB code

222 100+
Hello everybody

I am using access 2007.

When I use button wizard option, access 2007 use macros to implement the action.

Meanwhile Access 2003 use VB code.

What is difference between them?" in terms of efficiency & speed..."

Which method is better to use ?

Is there any option in access 2007 that I am able to change it to tell the wizard method to use VB code in place of MACROS? "actually I feel comfortable using VB code"


Does MACRO do something on access applications that VB can't do it ?


THANK YOU IN ADVANCE & BEST REGARDS


WASSIM S DACCACHE
Sep 25 '08 #1
3 5115
hjozinovic
167 100+
There is option to convert macros to VBA code.
Look up access help for "convert macro"
Sep 25 '08 #2
Krandor
50
VBA code is much more powerful than macros. Macros are there basically for beginners who don't know how to code. You can do some simple steps (run a query or a report) and not too much else.

If you know VBA code, then stick with that and avoid macros altogether.

I'm a dba at work and I see a lot of homegrown applications (built by people who have some skills in Access but who are not db professionals). Almost 100% of the time I see almost no VBA code and extensive use of macros. When I see professionally created application the opposite is usually true.
Sep 25 '08 #3
youmike
69
For me, a compelling reason to use VBA rather than macros is the freedom that I then have to design error trapping, control of who uses what, and many other such needs to work just as I want. In VBA it is also much easier to design for later debugging.

When I started writing Access systems, around 15 years ago, I read all the expert advice I could find at the time and decided never to write a macro. The years since have shown me the wisdom of that decision for me.

Yes, it takes a little more effort in the earlier stages, but the later rewards are worth it.
Sep 26 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Thomas Matthews | last post by:
Hi, I have several translation units (modules) which contain static {local} variables. These function have short global accessor functions. I would like to change these functions into macros,...
13
by: uma676 | last post by:
Hi all, I want to know the differebces between function and macro in c language. if anybody can tell me atleast 4 diff's. for which i will be regrated. Rgds, Balaji
3
by: | last post by:
is there any performance diffrence between MC++ 2003 ,other .NET languages and MC++ 2005 (cause of an optimization) ???
5
by: dost | last post by:
can u tell me the diffrence between...... private public and protected .........in........these.......which one...is access modifier....and which one..is specifier....... and....the diffrence...
1
by: jitender164 | last post by:
hello all pls help me to explore the diffrence b/w c and c++ by using a program example code that can illustrate the diffrence between the structure programing and object oriented programing....
5
by: solargovind | last post by:
Hi, In VBA code, How can i run Sql query..? I need to delete a record by the below query... Docmd.runsql(Delete * from Payment_detail_Table where Payment_id=(Select Max(Payment_id) from...
6
by: jason | last post by:
Hi, I learned my lesson about passing pointers, but now I have a question about macros. Why does the function work and the MACRO which is doing the same thing on the surface, does not work in...
2
by: hemantpatil | last post by:
what is main diffrence beteween Hashtable & arraylist when use arrylist &7 when use hash table
24
by: raashid bhatt | last post by:
what is the diffrence between typedef void (__cdecl *PyClean)(void); void (__cdecl *PyClean)(void);
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.