Compile Error In Hidden Module Thisdocument Office 2010
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Wed, 05 Oct 2016 16:04:45 GMT by s_hv972 (squid/3.5.20)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About
Compile Error In Hidden Module Excel 2013
Us Learn more about Stack Overflow the company Business Learn more about hiring developers excel compile error in hidden module thisworkbook or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack excel compile error in hidden module autoexecnew Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Compile error in hidden module : This http://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_other/compile-error-in-hidden-modulethis-document/41196d24-3551-431a-a913-ad9a55092a39 document up vote 2 down vote favorite I am getting the following error when I open a Word document in MS Word 2007 on Windows 2007 machine. Compile error in hidden module : This document This document contains macros, and it works fine on another machine. I think this error began to occur after some security updates. Is this an OS or MS Word security issue? http://stackoverflow.com/questions/10136810/compile-error-in-hidden-module-this-document vba ms-word word-vba word-2007 share|improve this question edited Aug 13 '12 at 14:20 Gaffi 3,12862859 asked Apr 13 '12 at 7:23 ujas patel 44126 You will need to provide far more information than that for us to be able to help you, including the code in question. –Delan Azabani Apr 13 '12 at 7:27 Code is perfect because it run fine on other machine, i thing this is OS or Ms Office related issue. –ujas patel Apr 13 '12 at 7:53 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote Check the code that runs when the document is open. It is trying to use a procedure that can not find or is not defined. If you can use it correctly in some machines but in others not, then probably the machine with problems: a) Doesnt have a necesary AddIn/Library or b) Doesnt have access to the network location where the AddIn or Library is. share|improve this answer edited Apr 13 '12 at 10:45 answered Apr 13 '12 at 10:22 CaBieberach 1,27921125 I found solution from this link:http: www.lessanvaezi.com/delete-exd-files-to-fix-object-library-invalid-error/ –ujas patel Apr 26 '12 at 14:37
from GoogleSign inHidden fieldsSearch for groups or messages
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Compile Error in Hidden Module Running Macros in Word 2010 Want to Advertise Here? Solved Compile Error in Hidden Module Running Macros in Word 2010 Posted on 2011-03-16 MS Applications MS Word 2 Verified Solutions 21 Comments 3,055 Views Last Modified: 2012-06-21 I am testing Word 2010 with our current custom vba macros written for Office 2003. They are located in a template called legal.dot which loads in the Word startup folder. When I try to run any macro I get the error: Compile Error in Hidden Module THis error commonly occurs when code is incompatible with the version, platform or architecture of the application..... I know it is not the code because if I copy all of the macros into my normal.dot & run from there they all run without a problem. I have the startup folder & the folder where the templates are loading from as a trusted location source but still cannot run? Any suggestions what I can try? 0 Question by:leinig Facebook Twitter LinkedIn Google LVL 30 Best Solution bySiddharthRout Ok to summarize it. In document 2010legaldm.dot Replace .Alignment = wdAlignParagraphFull with .Alignment = wdAlignParagraphCenter as the constants available are wdAlignParagraphLeft Go to Solution 21 Comments LVL 59 Overall: Level 59 MS Word 19 MS Applications 19 Message Active 2 days ago Expert Comment by:Chris Bottomley2011-03-16 Ensure all word documents / applications are closed then ... Try opening the template in word for edit. Now try and run one of the macros in another document and it should give some indication of what is happening. Chris 0 LVL 59 Overall: Level 59 MS Word 19 MS Applications 19 Message Active 2 days ago Expert Comment by:Chris Bottomley2011-03-17 ALso if the template code is protected, after opening it and before doing anything else nlock the project. Chris 0 LVL 13 Overall: Level 13 MS Word 12 MS Applications 5 Message Active today Expert Comment by:Stacy Brown2011-03-17 Try resaving your Legal.dot in Word 2010 as a Legal.dotm file. Also, check your macro security settings 0 Message Author Comment by:leinig2011-03-17 Unfortunately neither suggestion above has helped. Macro Security Settings is set to Enable All. To clarify a little bit more. I have one .dot (also tried .dot