Home > Time Error > Visual Basic Error 4248

Visual Basic Error 4248


degent 09:46 07 Dec 07 Check out the Microsoft Knowledge Base, specify Word 2003 and search for Error 4248Or copy the link below into your web browserThis article / link describes Password Register FAQ Today's Posts Search Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Set Doc1 = Documents.Open("\MyDoc.Doc", Visible:=True) Doc1.ActiveWindow.Activate End Sub[/COLOR] [COLOR=#000000] [/COLOR] Formatting tags added by mark007 Reply With Quote 04-04-2012,02:57 PM #2 fumei View Profile View Forum Posts View Blog Entries View The system returned: (22) Invalid argument The remote host or network may be down. this contact form

Can you describe the steps to using this document? Join & Ask a Question Need Help in Real-Time? Solved Errors with Word opening attachment from Outlook - Run Time Error 4248 Posted on 2011-12-21 MS Word 1 Verified Solution 2 Comments 1,911 Views Last Modified: 2012-05-12 Hello all, I The other conditions are not tested - this is what Select Case is for - testing multiple values of the SAME variable or object.

Vba Error 4605

This shows that the value of Application.ActiveProtectedViewWindow is Nothing when a document is not in Protected View. Error code 4248 Hi, I have a web application that used to be hosted on Server 2003 and IIS6, recently the web application was moved to Server 2008 R2 and IIS7.5 Join the community of 500,000 technology professionals and ask your questions.

Resume[/COLOR] [COLOR=#000000]End If[/COLOR] [COLOR=#000000]End Sub[/COLOR] [COLOR=#000000]Sub CountHiddenDocs() ' This macro opens an existing document as hidden ' then makes the hidden document visible. Error code 4248 Posting Permissions You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is Thanks, Midani Reply With Quote 04-10-2012,10:17 AM #15 fumei View Profile View Forum Posts View Blog Entries View Articles VBAX Wizard Joined May 2004 Posts 6,713 Location That was just an Run Time Error 4605 Word 2010 I'll try it tomorrow morning and will let you know how it went. #10 02-18-2014, 12:45 PM CIF Windows 7 32bit Office 2007 Novice Join Date: Feb 2014

Now instead of getting an error message, user's computer just sits there while it is looping through the code. Runtime Error 4248 Word 2013 You may have to register before you can post: click the register link above to proceed. The program is fine when I ran the program on my computer. asked 4 years ago viewed 2856 times active 10 months ago Blog Stack Overflow Podcast #93 - A Very Spolsky Halloween Special Related 7Opening/Activating Word Documents in a VBA macro1Word Macros

Thanks, Midani Private Sub Document_Open() If ActiveDocument.FormFields("text64").Result = "Yes" Then ActiveDocument.FormFields("Check1").CheckBox.Value = True If ActiveDocument.FormFields("text64").Result = "No" Then ActiveDocument.FormFields("Check2").CheckBox.Value = True Formatting tags added by mark007 [COLOR=#000000]If ActiveDocument.FormFields("text65").Result = "Inpatient" Then Runtime Error 4248 Word 2007 Connect with top rated Experts 16 Experts available now in Live! Any help will be appreciated. more hot questions question feed lang-vb about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

Runtime Error 4248 Word 2013

The time now is 10:54 PM. Share a link to this question via email, Google+, Twitter, or Facebook. Vba Error 4605 I will ask again...please describe the exact circumstances. Run Time Error 5941 Word Macro I will ask again...please describe the exact circumstances.

A Word document? So wrapping the macro functions that refer to ActiveDocument in If statements checking for this will prevent those functions from running when the document is in Protected view. What is the parentage of Gil-galad? Document_Open must be in the document itself. Runtime Error 4248 This Command Is Not Available

When he tries to open up a Word 2010 doc that is attached to an email he cant open it and gets a VB error "Run-time error 4248 This command is Why was Vader surprised that Obi-Wan's body disappeared? Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. navigate here What is the full code for the procedure with: If ActiveDocument.FormFields("text65").Result = "Inpatient" Then _ ActiveDocument.FormFields("Check3").CheckBox.Value = True Formatting tags added by mark007 Reply With Quote 04-05-2012,04:18 PM #6 fumei View

If statement executes, testing if text65 = Residence 7. Run Time Error 4605 Visual Basic SkyrimSE is Quiet Why does the kill-screen glitch occur in Pac-man? Why does WordPress use outdated jQuery v1.12.4?

The point is that text64 does not MEAN anything.

Player claims their wizard character knows everything (from books). Error code 4248 Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Apr 23rd, 2010,10:41 AM #1 but43r View It will also help if you posted your entire code. Run-time Error '5941' Application-defined Or Object-defined Error Put your cursor on it and press F1.

Nothing else happens. I have to say that I am a Java application developer and I know very little about VB or much less VBA. I've highlighted the line where the error occurs. Reply With Quote 04-11-2012,11:32 AM #18 Tinbendr View Profile View Forum Posts View Blog Entries Visit Homepage View Articles VBAX Expert Joined Jun 2005 Location North Central Mississippi (The Pines) Posts

However, this doesn't always work and documents are still printed.