Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , ,

Sponsored Links


Macro not working on word 2010

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 28-04-2012
Member
 
Join Date: Dec 2011
Posts: 21
Macro not working on word 2010

Sponsored Links
I had record a macro to generate a footer commencing from side to side a certain information in sequence typed into the footer in a blank word document in compatibility mode. I had open an innovative blank word document in compatibility mode. I run the macro. It places the convinced information in the footer into the body of the manuscript and not into a footer. The Macro not working on word 2010. What might be wrong in it. I am not able to find it. Need some help on the above topic.

Reply With Quote
  #2  
Old 28-04-2012
Member
 
Join Date: Jun 2011
Posts: 449
Re: Macro not working on word 2010

Your macro almost certainly does not contain the code to switch commencing from editing the most important think to editing the footer. Endeavoring the setting up/formatting your footer, selecting the text and saving it to the Footer Gallery as an alternative of utilizing a macro. The Header & Footer Tools | Header & Footer | Footer | Save Selection to Footer Gallery. This is more often than not a much superior method than creating a macro. You have to utilize the Document Properties or fields to position unpredictable information such as page numbers and document title into the footer.
Reply With Quote
  #3  
Old 28-04-2012
Member
 
Join Date: Jun 2011
Posts: 598
Re: Macro not working on word 2010

I then recorded a macro to automate this procedure as I be able to assign a macro to a keyboard shortcut I do not be familiar with several method to assign an item commencing from the footer gallery to a keyboard shortcut and originated that with the intention of to facilitate it does not place the footer in the footer situation; to a certain extent it places it at the beginning of the most important part of the document. The macro code reads: I had just upgraded commencing from W2003 to W2010. I did not have comprised several issue through the footer macro in 2003. I admit I am not versed in writing macros I utilize the "recording" and "stop recording" to generate my macros it seems that it does not put in the code you mentioned.
Reply With Quote
  #4  
Old 28-04-2012
Member
 
Join Date: Jul 2011
Posts: 589
Re: Macro not working on word 2010

In this you have to attempt positioning this line at the top of your macro the ActiveDocument.ActiveWindow.View.SeekView = wdSeekCurrentPageFooter. This is the domination to start editing the footer for the present page. If you desire to return to the most important thing when you have comprised and finished inserting your footer, position this at the end ActiveDocument.ActiveWindow.View.SeekView = wdSeekMainDocumen.
Reply With Quote
  #5  
Old 28-04-2012
Member
 
Join Date: Jul 2011
Posts: 584
Re: Macro not working on word 2010

At present, previous to I go on you have to maintain in mind that my experiences are through Word 2010, not so much 2007. On the other hand, for the reason that I had previously read that to facilitate there are more than a few similarities when it comes to Macro protection I felt I be supposed to respond anyway. By default Macro implementation is turned off in Word. In Word 2010 you be able to apply "trusted locations" commencing from which Macro's determine to always be run, as far as I be familiar with in 2007 you be able to merely enable or disable execution on a per-file basis.

As such; you say the security settings are accurate, additional than which setting did you utilize exactly. For the record: I am talking regarding the settings in the security centre, so just present in case you have to Press the Office button and select 'Word Options'. After that you have to choose the 'Trust centre' and then 'Trust centre settings' as far as I know you necessitate both "Enable all macro's" enabled as well as "Trust access to the VBA project object model" anticipate this be able to assist a bit.
Reply With Quote
  #6  
Old 30-04-2012
Member
 
Join Date: Oct 2011
Posts: 96
Re: Macro not working on word 2010

This is a wild guess on my fraction other than perhaps it is helpful. Still, I have comprised to stress this out. I am guessing here, so do not acquire your anticipates up, on the other hand; my guess is an educated one I am not reflect on out of the blue. I had given the impression of being this up and it seems this in addition applies to 2007 trusted locations. So essentially; this is a place on your HD which is trusted by Office (Word). As such Word might not impose several restrictions on the document where macro and vba procedure is concerned. I be familiar with this to be true for 2010 (which I utilize) additional than I do not be familiar with the entire the details for 2007. Still; commencing from what I have read this be supposed to in addition apply to 2007. Commencing from your Trust centre which I had mentioned on top of you be supposed to in addition have the option "Add trusted location".

If you are 100% sure that to facilitate the document you are attempting to utilize sits in a safe place you trust this document other than in addition the other documents in that same folder then you be supposed to endeavor to add the folder to Word's trusted locations. That be supposed to create certain that Word does not block scripts and macro's just because.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Macro not working on word 2010"
Thread Thread Starter Forum Replies Last Post
Word Macro Won't Run IanGreen Windows Software 1 24-02-2012 02:34 AM
VB Script To Run Macro from Word jymoo Software Development 3 05-12-2011 09:58 AM
Mail Merge not working in Word 2010 Raja Ram Windows Software 5 19-05-2011 10:20 AM
Word 2010 is not working after installing Duden plus 6.0 !Destroyer! Windows Software 5 07-12-2010 06:14 AM
Macro for hyperlink on Word/Excel Mindstorm Windows Software 3 07-05-2009 03:13 PM


All times are GMT +5.5. The time now is 08:21 PM.