|
| ||||||||||
| Tags: footer gallery, macro, ms office, vba, word 2007, word 2010 |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Macro not working on word 2010
|
|
#2
| |||
| |||
| 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. |
|
#3
| |||
| |||
| 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. |
|
#4
| |||
| |||
| 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. |
|
#5
| |||
| |||
| 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. |
|
#6
| |||
| |||
| 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. |
![]() |
|
| Thread Tools | Search this Thread |
| |
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 |