[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 490
  • Last Modified:

Word 2010 Macro equivalent?

Hi there just wondering if someone might be able to advise the easiest and most simple way of having inserting a pre-defined Header (including a company logo ) and Footer into a Word Document for a end user so they can just click on a button or insert into a document?

I have it working in Word 2003 ok for them currently by using a Macro and have tried using a Macro in Word 2010 using the same method but it get's an error I think it's something to do with the logo or image and just wanted to check with the newer features of Word 2010 if anyone's had any success using some other similar method of Word 2010 like building blocks or Autotext etc? I'm just looking for the most straight forward procedure as have to set it up on about 5 machines or more going forward.

Would appreciate if anyone's got any feedback or advise on this.
Many Thanks
0
CRL ltd
Asked:
CRL ltd
  • 3
  • 2
1 Solution
 
GrahamSkanRetiredCommented:
I would advise using AutoText in Word 2003. You could save a few clicks by automating it with a macro.

The same macro code should work if the text is held in a Word 2007 & later template as an AutoText building block , or the code could specify a general building block entry.

Would you care to post your code and say what error you are getting?
0
 
QlemoDeveloperCommented:
I agree, the best method probably is to stay with the macro, and try to get it work.
0
 
CRL ltdAuthor Commented:
Run-time error 5941:

The requested member of the collection does not exist.

Is what happens after I've recorded my Macro and try to run it?
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
GrahamSkanRetiredCommented:
Recorded macros don't always run without error.
What is the code, and which line does it fail on?
0
 
CRL ltdAuthor Commented:
It was being caused by building blocks header and footer! avoid this option and just insert normal header and footer without choosing any predefined option and the macro worked afterward fine!
0
 
CRL ltdAuthor Commented:
found this out myself by experimenting with Word 2010 macro options
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now