macro recorder does not record

A

Al

When I use the macro recorder to make a macro I get the through the naming
window ok and the recording indicator comes on.
But when I do all the things i want done and stop the reording and go back
to the macro all that is showing is my name and the macro title.
This is happening in Word 2002, but the recorder works in Excel.
 
J

Jean-Guy Marcil

Al was telling us:
Al nous racontait que :
When I use the macro recorder to make a macro I get the through the
naming window ok and the recording indicator comes on.
But when I do all the things i want done and stop the reording and go
back to the macro all that is showing is my name and the macro title.
This is happening in Word 2002, but the recorder works in Excel.

What actions are you actually trying to record?


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
A

Al

Im trying to "edit, links, update, ok".
Jean-Guy Marcil said:
Al was telling us:
Al nous racontait que :


What actions are you actually trying to record?


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
J

Jean-Guy Marcil

Al was telling us:
Al nous racontait que :
Im trying to "edit, links, update, ok".

Right, as you have discovered, some of the interaction with the built-in
dialogs do not get recorded.

In your case, try

Selection.Fields(1).Update

for the currently selected field.


Or, for all fields in the document:

ActiveDocument.Fields.Update


Or, for only a certain type of field:

Dim MyField As Field

For Each MyField In ActiveDocument.Fields
If MyField.Type = wdFieldLink Then MyField.Update
Next


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
A

Al

Thanks Jean

The second one gets the job done well.

Now...another question!

Is there a way to make it run automatically when I open just that document?

I tried "auto-open" and "autorun" and "auto_run"
 
J

Jean-Guy Marcil

Al was telling us:
Al nous racontait que :
Thanks Jean

The second one gets the job done well.

Now...another question!

Is there a way to make it run automatically when I open just that
document?
I tried "auto-open" and "autorun" and "auto_run"

Very close :)

Try AutoOpen...


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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