Compile Error Syntax Error Word
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Wed, 05 Oct 2016 15:59:52 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 Us Learn more about Stack Overflow the company Business Learn
Microsoft Jscript Compilation Error Syntax Error
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users
Microsoft Jscript Compilation Error Syntax Error Java
Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping microsoft jscript compilation error syntax error ie8 each other. Join them; it only takes a minute: Sign up Word VBA Compile Error up vote 3 down vote favorite I have a word document that has a few userforms and options to auto create an entire http://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_mac/syntax-error/a1d17463-c6a4-4e60-a480-5721ac48e69e document. It works great on all of the installations I have tried from 2007 to 2013. The problem is that one user on one computer gets compile errors when it the user form is launched. The compiler complains that controls do not exist that actually DO IN FACT exist. I had him create a temporary account, just a simple test account, no admin permissions and it runs fine. I have have tried killing the usual suspects http://stackoverflow.com/questions/27050282/word-vba-compile-error -.dotm files - normal.dot files - wiped word start up folders - I have reset the word registry key - I have renamed the appdata\Microsoft\office, appdata\Microsoft\word etc etc etc. There are no missing references. More oddities: it complains about a missing control, lets just say frm.txtname. I cut the sub that contains the reference and paste it at the bottom POOF it no longer believes the control is missing but...it finds another one to complain about. I know it is something wonked up in the profile but I cannot find it. vba ms-word word-vba user-profile share|improve this question edited Mar 6 '15 at 19:34 Deduplicator 27.8k63265 asked Nov 20 '14 at 21:53 Tanya 161 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote Try this: In VBA editor open Tool bar and click References. You will see the list of references. Unclick those who starts with "MISSING". It should work. share|improve this answer answered Nov 20 '14 at 22:11 PolaEla 862 I really wish I understood exactly what makes that happen to begin with. –RubberDuck Nov 21 '14 at 0:57 It is happening while users save MS file with VBA macro on their hard drive. It happens all the time with my Excel Tools. I will work on the solution and post it in here if found one. I
> Operating Systems > Apple Macintosh > Mac Office > Mac Ofice Word > syntax error? Compile error? bug? Word for Mac 2004 syntax error? Compile error? bug? Word for Mac 2004 Posted: 07-31-2004, 09:43 PM sean Guest Posts: n/a Show Printable Version Email this http://www.realgeek.com/forums/syntax-error-compile-error-bug-word-for-mac-2004-a-396898.html Page Post Comment I recently upgraded to Office 2004 from Office X. IN the last 2 weeks, 2hen http://www.office-forums.com/threads/compile-error-syntax-error.1646772/ I open a word document in word 2004, I sometimes get a warning: The document you are opening contains macros or customizations. Some macros may contain viruses that could harm your computer. If you are sure this documentcan bhe trust click enable macros. If not click disable macros. Sometimes, when I've just opened the program and try to open an existing doc, I get the message: Compile error. Syntax syntax error error. If I click OK: then I get this weird Private Sub Document. Then I sometimes get the screen: Miscrosoft Visual Basic: This comannd will stop the debugger. I sometimes get this when oepning new documents and am now getting it on old documents. It seems very random. Is this a virus? Is there a cure? Is it in the documents or in the program? I am using Microsoft Word 2004 for Mac Version 11.0 syntax error? Compile error? bug? Word for Mac 2004 Responses to error syntax error "syntax error? Compile error? bug? Word for Mac 2004" sean Dayo Mitchell Guest Posts: n/a Re: syntax error? Compile error? bug? Word for Mac 2004 Posted: 08-01-2004, 11:40 PM It sounds like some of your documents have a macro, maybe set to run automatically on opening, in them, and that it isn't running properly. Those weird screens you mention are taking you into the macro-editing environment. You could try selecting and deleting what you see there, next time it happens. Also try bringing up Tools | Macros and looking at the list of macros to see if there is anything you don't want or don't recognize there. DM On 7/31/04 5:43 PM, "sean" wrote: > I recently upgraded to Office 2004 from Office X. > > IN the last 2 weeks, 2hen I open a word document in word 2004, I > sometimes get a warning: > The document you are opening contains macros or customizations. Some > macros may contain viruses that could harm your computer. If you are > sure this documentcan bhe trust click enable macros. If not click > disable macros. > > Sometimes, when I've just opened the program and try to open an > existing doc, I get the message: Compile error. Syntax error. > > If I click OK: then I get this weird Private Sub Document. > > Then I sometimes get the screen: Miscrosoft Visual Basic: This > comannd will stop the debugger. > > > I sometimes get this when oepning new documents and am now get
MS office reinstalled by me desktop group. We use MS Share Points services and have documents located on our share point. Prior to the reinstall I could open documents. Since the reinstall I get a Complie error: Syntax error. VB opens up and shows me this code: Private Sub TmpDDE () WordBasic.AppShow Rem _DDE_ReadWriteOnSave WordBasic.FileOpen Name :=, Revert :=0 End Sub I went inot Normal.dot Tools/Macro/Macros/Organizer to try to remove the TmpDDE macro but it is not there. Can someone help? , Feb 17, 2006 #1 Advertisements Beth Melton Guest Open the Visual Basic Editor Alt + F11 and see if you can find the code there. Or when the VBE opens to the code try deleting the procedure. This is a temporary procedure created when you open Word outside the application, such as double-clicking a file from your Desktop and is typically deleted. Please post all follow-up questions to the newsgroup. Requests for assistance by email can not be acknowledged. ~~~~~~~~~~~~~~~ Beth Melton Microsoft Office MVP Word FAQ: http://mvps.org/word TechTrax eZine: http://mousetrax.com/techtrax/ MVP FAQ site: http://mvps.org/ "" <> wrote in message news:... >I had my MS office reinstalled by me desktop group. We use MS Share >Points > services and have documents located on our share point. Prior to > the > reinstall I could open documents. Since the reinstall I get a > Complie error: > Syntax error. VB opens up and shows me this code: > > Private Sub TmpDDE () > WordBasic.AppShow > Rem _DDE_ReadWriteOnSave > WordBasic.FileOpen Name :=, Revert :=0 > End Sub > > I went inot Normal.dot Tools/Macro/Macros/Organizer to try to remove > the > TmpDDE macro but it is not there. Can someone help? Beth Melton, Feb 18, 2006 #2 Advertisements Show Ignored Content Want to reply to this thread or ask your own question? It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum. Sign Up Now! Similar Threads Compile Error Guest, Jul 25, 2003, in forum: Word Errors Replies: 2 Views: 77 Guest Jul 25, 2003 Compile Error?? Anna, Jul 30, 2003, in forum: Word Errors Replies: 1 Views: 94 Suzanne S. Barnhill Jul 30, 2003 Closing Document creates Compile Error Syntax Error coachvince, Sep 3, 2003, in forum: Word Errors Replies: 0 Views: 116 coachvince Sep 3, 2003 MS VB error: compile error in hidden module: autoexec david, May 18, 2004, in for