Problem - Macro - Headers and Footers

R

Richard Adrian

Hi there,

[Using Word '97].

wonder if anyone can help here.

I'm going thru about 1000 docs, and wish to insert the same footer on each
one, namely:
...when you 'View Header and Footer', then on the 'Insert Auto Text' tab, I'm
trying to insert 'Filename and Path', and also 'Created On'.

When I do this manually on each doc, it works fine. I've had to do the same
task in the past, and then I created a simple Macro: I went 'Tools > Macros
Record macro' - and then simply recorded the actions. (It worked then!).

I'm trying it now (I am using a different computer..) - and it's not
working. As I record the Macro, it seems to insert the correct text, ie
Filename and path, and also 'created on'.. However, when I open another
document, and run that macro, it doesn't work. What I get is just 'Created
on' - with nothing after it - inserted in the Footer. So, if you like, the
Macro is doing some of what I've asked it to do, but not all.

I've tried various options, ie - when you record the Macro, inserting it on
the Toolbar, and then not doing that, ie just leaving it in the Macro
dialogue box. But it's always the same effect - I just get the text
"Created on" in the footer, with no date. No mention of the file path / doc
name.

And yes, I know you can't use the Mouse... I'm doing all these actions just
with keyboard.

Any ideas?
Yours gratefully!

Richard.
 
G

Guest

Richard.

Are you saving you macro based on your systems
normal.dot? I believe you need to do this in order for it
to carry over to the next one.

Tammy
-----Original Message-----
Hi there,

[Using Word '97].

wonder if anyone can help here.

I'm going thru about 1000 docs, and wish to insert the same footer on each
one, namely:
...when you 'View Header and Footer', then on the 'Insert Auto Text' tab, I'm
trying to insert 'Filename and Path', and also 'Created On'.

When I do this manually on each doc, it works fine. I've had to do the same
task in the past, and then I created a simple Macro: I went 'Tools > Macros
Record macro' - and then simply recorded the actions.
(It worked then!).

I'm trying it now (I am using a different computer..) - and it's not
working. As I record the Macro, it seems to insert the correct text, ie
Filename and path, and also 'created on'.. However, when I open another
document, and run that macro, it doesn't work. What I get is just 'Created
on' - with nothing after it - inserted in the Footer. So, if you like, the
Macro is doing some of what I've asked it to do, but not all.

I've tried various options, ie - when you record the Macro, inserting it on
the Toolbar, and then not doing that, ie just leaving it in the Macro
dialogue box. But it's always the same effect - I just get the text
"Created on" in the footer, with no date. No mention of the file path / doc
name.

And yes, I know you can't use the Mouse... I'm doing all these actions just
with keyboard.

Any ideas?
Yours gratefully!

Richard.


.
 

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