Ms Word Runtime Error 4248
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Thu, 20 Oct 2016 22:20:15 GMT by s_wx1011 (squid/3.5.20)
soon) Ruby (coming soon) Getting Started Code Samples Resources Patterns and Practices App Registration Tool Events Podcasts Training API Sandbox Videos Documentation Office Add-ins Office Add-in Availability Office Add-ins Changelog Microsoft
Run Time Error 4605 Visual Basic
Graph API Office 365 Connectors Office 365 REST APIs SharePoint Add-ins Office UI run-time error '5941' application-defined or object-defined error Fabric Submit to the Office Store All Documentation https://www.yammer.com/ http://feeds.feedburner.com/office/fmNx Ask a question Quick access Forums home Browse forums users
Run-time Error 4605 Excel
FAQ Search related threads Remove From My Forums Asked by: Run-time error 4248 when opening a Word document with a double click in Access Microsoft Office for Developers > Access for Developers http://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_other/i-have-multiple-word-documents-on-i-get-a-error/c0b45ead-4c32-4da3-afb2-96fc8b690f11 Question 0 Sign in to vote Hi, I'm working with Office 2007 and 2010. I have a Word template which performs some checking on the document (based upon it) when it is opened. In different points it uses the ActiveDcument propiety. When I open the document normally, everything OK When I open the document from Access using the following code, it is also OK: Dim https://social.msdn.microsoft.com/Forums/office/en-US/ebad1fae-b779-4470-9ce8-36f956ffc46e/runtime-error-4248-when-opening-a-word-document-with-a-double-click-in-access?forum=accessdev objWordApp As Word.Application Dim objWordDoc As Word.Document Set objWordApp = CreateObject("Word.Application") With objWordApp .Visible = false ' or True .Documents.Open("MYDoc.docx") End With But when I double click the bound object frame (OLE) in an Access frame, Word will generate an error when it encounters the ActiveDocument reference. Run-time error '4248': This command is not available because no document is open. Could you explian me why? And suggest some work around? Lauro P.S.: I noticed that Application.UserControl is TRUE (in the two first cases; and False in the last) [strange! I would have tought that in the second one would it be false...] Edited by Lauro2 Thursday, August 16, 2012 10:08 PM Moved by Leo_GaoModerator Wednesday, August 22, 2012 2:42 AM (From:Word for Developers) Thursday, August 16, 2012 10:06 PM Reply | Quote All replies 0 Sign in to vote hi, I have an Access (2007 or 2010) database; in a form I have a bound object frame wich contains a Word (2007 or 2010) file. The Word documents are based on a MyTemplate, which uses ActiveDocuments on Create and Open events. When I open the word doc from a VBA function like the following
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 more about hiring developers or posting ads http://stackoverflow.com/questions/31911657/qa-on-ms-word-run-time-error-4248 with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the http://www.solvusoft.com/en/errors/runtime-errors/microsoft-corporation/microsoft-word/4248-microsoft-word-error-4248/ Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up QA on MS word Run-time Error 4248 up vote 1 down vote favorite I am writing a VB script on MS word. The program is fine when I ran the program on my computer. But it is failed when time error the document is opened in protected mode. Since the ms word will enter the protected view mode if the files are downloaded from the Internet and my word file is generated on the server side. After opening the word in protected mode and clicking the "Enable Editing" button , the word is existed from the "protected view mode" and change to "Compatibility Mode". And the ms word start to execute the VBA program. Here is the program. Private Sub Document_Open() If Application.ActiveProtectedViewWindow Is run time error Nothing Then createButtonFunction (ActiveDocument.Tables.Count) End If End Sub The program keep on saying that "ActiveDocument" is not found. But the number of activate document is 1. How can I set the "ActiveDocument" properties back again after the word is change from "protected view mode" and change to "Compatibility Mode" ???? vba ms-word share|improve this question asked Aug 10 '15 at 4:30 user101539 61 Problem Solved. The Document is null since the word is already open. But the event of document is still fired and causing this problem.Don;t use the default Document and activate document when the document will be opened in protected view mode. –user101539 Aug 10 '15 at 4:54 Dim doc As Word.Document Set doc = ThisDocument createButtonFunction (doc.Tables.Count) Use the ThisDocument is as same as Activate document for my case. –user101539 Aug 10 '15 at 4:57 add a comment| active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook. Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Browse other questions tagged vba ms-word or ask your own question. asked 1 year ago viewed 221 times Related 1166How do you display code snippets in MS Word preservi
DriverDoc WinSweeper SupersonicPC FileViewPro About Support Contact Errors Troubleshooting › Runtime Errors › Microsoft Corporation › Microsoft Word › Error 4248 How To Fix Microsoft Word Error 4248 Error Number: Error 4248 Error Name:Microsoft Word Error 4248 Error Description: Error 4248: Microsoft Word has encountered a problem and needs to close. We are sorry for the inconvenience. Developer:Microsoft Corporation Software:Microsoft Word Applies to:Windows XP, Vista, 7, 8 Download NowWinThruster 2015 - Scan your PC for computer errors. Compatible with Windows 10, 8, 7, Vista, XP and 2000 Symptoms of Error 4248 "Error 4248" appears and crashes the active program window. Your PC frequently crashes with Error 4248 when running the same program. “Microsoft Word Error 4248” is displayed. Windows runs sluggishly and responds slowly to mouse or keyboard input. Your computer periodically “freezes” for a few seconds at a time. These 4248 error messages can appear during program installation, while a Microsoft Corporation-related software program (eg. Microsoft Word) is running, during Windows startup or shutdown, or even during the installation of the Windows operating system. Keeping track of when and where your 4248 error occurs is a critical piece of information in troubleshooting the problem. Causes of Error 4248 Corrupt download or incomplete installation of Microsoft Word software. Corruption in Windows registry from a recent Microsoft Word-related software change (install or uninstall). Virus or malware infection that has corrupted Windows system files or Microsoft Word-related program files. Another program maliciously or mistakenly deleted Microsoft Word-related files. Runtime Errors such as “Error 4248” can b