Documente Academic
Documente Profesional
Documente Cultură
First of all start your Microsoft office word processor and follow the following steps:
1. You need to make sure the developer tab is displayed
The initial page is like this
Popular tab
-click on the developer tab option that now appears on the menu bar
Developer tab
5. the following screen appears , click on button so that the macro should
appear as a quick button on the access quick toolbar
Button
6. the following screen appears now click on the macro name you are creating
and then click add
NB: do not click or add the separator
Your
macro
Add
button
7. now you can start performing the actions you want your macro to do for e.g
Click ok
we will create a macro that will do the following:
create a new document
change the font and font size
insert a date
1. click the ribbon and click on new then click on blank document and then
press create
3. type some text and change the font and font size to a desired one
Font
Font
change
Date and
time button
5. A date and time window appears Chose a desired date format and then
click ok
ok button
7. Now that we have done all that we want our macro to be doing , we need
to stop recording our macro. Go to the developers tab and click on stop
recording
8. Now click on that macro button you just created under the quick access
toolbar
Your macro
button
Quick access
toolbar
9. What happens? In some programs this will work perfectly fine but in
some this may not be the case :
Your macro will display everything you recorded in the current
document
After you close every other document, try opening the word
processor again and try running your macro again .one of these
three happens
1. Your macro will run correctly
2. Your micro might also produce this error
the requested member of the collection does not exist
This happens because in the code of your macro a certain line
tells the macro to only apply the changes that the macro
recorded in the document it was recorded thus if you recorded
your macro whilst the document name was document2 the
macro will not run correctly in other documents.
What you need to do
Click on the debug button
Debug button