What is a macro?

C

cliceanne

I have only heard of them, what do they do & how do I use them?
(PS, I'm a newbie)
 
T

The Code Cage Team

its a routine of code either created by you or recorded using the macr
recorder, the code aims to make life a little easier for you b
automation tasks, goto tools>Macros>Record new macro perform some tas
then click the stop button on the small blue square thats on you
screen, now press and hold Alt and hit F11 the VBE (Visual Basic Editor
will pop up, on the left you will see a folder called Modules doubl
click it and then double click module 1, the code you recorded will b
there !

cliceanne;583949 said:
I have only heard of them, what do they do & how do I use them?
(PS, I'm a newbie

--
The Code Cage Tea

Regards,
The Code Cage Team
'The Code Cage' (http://www.thecodecage.com
 
S

Steve Schapel

Cliceanne,

Macros are a tool to allow certain tasks, for example data management tasks,
or user interface manipulation tasks, to be automated.

In Access 2003 and earlier, click New from the Macros tab of the Database
Window. In Access 2007, click Macros from the Create ribbon.

You have a number of Actions from which you can choose from a drop-down list
of Actions. Most Actions have Arguments, which are completed in the section
at the bottom of the Macro design window. For example, there is an OpenForm
action, and then the name of the from to open is one of the Arguments.

Expressions can be entered in the Conditions column, to control whether
actions are activatd or not when the Macro runs.

Macros are then used by assigning them on an Event. There are many Events
which Access makes available for this purpose. The name of the macro is
entered into the Property sheet for an object on a form or report. One
example is the On Click event property of a Command Button.

In addition, a new feature of Access 2007 is the Embedded Macro, which
allows you to create a Macro directly into the Event Property.

In Access 2010, to be released next year, the Macro design process has been
hugely revised and enhanced, and Macros have become even more powerful, as
well as the introduction of a new type of macros called Data Macros.

It is a big topic, but hopefully this will help give you an idea. The Help
for macros in Access is very good.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top