Solved

Word 2010 Macro equivalent?

Posted on 2013-06-12
6
469 Views
Last Modified: 2013-06-19
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
Comment
Question by:CRL ltd
  • 3
  • 2
6 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
Comment Utility
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
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
I agree, the best method probably is to stay with the macro, and try to get it work.
0
 
LVL 1

Author Comment

by:CRL ltd
Comment Utility
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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 76

Expert Comment

by:GrahamSkan
Comment Utility
Recorded macros don't always run without error.
What is the code, and which line does it fail on?
0
 
LVL 1

Accepted Solution

by:
CRL ltd earned 0 total points
Comment Utility
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
 
LVL 1

Author Closing Comment

by:CRL ltd
Comment Utility
found this out myself by experimenting with Word 2010 macro options
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now