forumyaren.com

Home > Time Error > Visual Basic Runtime Error 4248

Visual Basic Runtime Error 4248

Contents

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 The other conditions are not tested - this is what Select Case is for - testing multiple values of the SAME variable or object. Join and Comment By clicking you are agreeing to Experts Exchange's Terms of Use. If I click "End" on the error window, the macros ran. navigate here

Copyright © 2004 - VBA Express Register Help Remember Me? 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 Does the reciprocal of a probability represent anything? The formfield is NAMED somethng meaningful. my company

Runtime Error 4248 This Command Is Not Available Because No Document Is Open

Dim wdApp ' Create the word object Set wdApp = Server.CreateObject("Word.Application") if Err.number <> 0 Then nErr = 1 szErr = " Error creating the Word Object " & Err.Description Exit I noted that you produced some code with the Option Explicit but I am not sure what you meant by it. How to Fill Between two Curves 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 I keep getting this error on Windows XP SP3 behavior is like this: 4248 referenced in title block above.

EXAMPLE: If the person did military service under item 6 of the form, field name 64 could have two cases a yes or a no, and a yes would pass to I do not actually care where it is. Since nothing's happening, that suggests that user is unable to create the Word document. Run Time Error 4605 Word 2010 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

How can I set the "ActiveDocument" properties back again after the word is change from "protected view mode" and change to "Compatibility Mode" ???? Now instead of getting an error message, user's computer just sits there while it is looping through the code. Many Thanks, Midani Attached Files To view attachments your post count must be 0 or greater. Advanced Search VBForums Visual Basic Office Development [RESOLVED] This command is not available because no document is open.

What happens to all of the options when they expire? Runtime Error 4248 Word 2007 Davem501 Word 0 12-01-2009 02:10 AM All times are GMT -7. 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 The benefits of using these tools means your documents are more accessible and easily portable to other applications an… MS Word Timing Multiple Chunks of Code - VBA Article by: DrTribos

Runtime Error 4248 Word 2013

Join the community of 500,000 technology professionals and ask your questions. http://stackoverflow.com/questions/31911657/qa-on-ms-word-run-time-error-4248 What grid should I use designing UI for the desktop app? Runtime Error 4248 This Command Is Not Available Because No Document Is Open What grid should I use designing UI for the desktop app? Run Time Error 4605 Word 2013 David Reply With Quote 04-11-2012,11:36 AM #19 midani View Profile View Forum Posts View Blog Entries View Articles VBAX Regular Joined Apr 2012 Posts 10 Location nope if you pull up

If statement executes, testing if text65 = Other (Specify) If you use Select Case, what happens if text65 = Inpatient? check over here Clearly if you are getting that error SOMETHING is not right. The person who wrote the code left the manual to saying that this application need Microsoft Office Server Extensions, I have installed it but application still gives the same error. Disproving Euler proposition by brute force in C Puzzler - which spacecraft(s) (actually) incorporated wooden structural elements? Run Time Error 5941 The Requested Member Of The Collection Does Not Exist

The time now is 10:57 PM. Office / Productivity Office Suites-Other MS Office MS Word Using Word Count Video by: Tony This video shows where to find the word count, how to display it, and what it After it executes this, it also disappears from view." What this got to do with your original posted question? his comment is here Get 1:1 Help Now Advertise Here Enjoyed your answer?

Run-time error '4248': this command is not available because no document is open Explicitly named controls (the formfields) means just that. Run Time Error 4605 Visual Basic Join our community for more solutions or to ask questions. Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc.

Documents.Add[/COLOR] [COLOR=#000000] 'Clear the error.

Produce Dürer's magic square On transit Dubai - passport validity How should I deal with players who prefer "realistic" approaches to challenges? SEO by vBSEO ©2011, Crawlability, Inc. Please try the request again. Run-time Error '5941' Application-defined Or Object-defined Error 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.

Reason: Added code tags & formatting #6 02-16-2014, 03:03 PM macropod Windows 7 32bit Office 2010 32bit Administrator Join Date: Dec 2010 Location: Canberra, Australia Posts: 14,316 Hi 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 I just give me this error. weblink If statement executes, testing if text65 = Hospice 6.

Especially Option Explicit. Office / Productivity Office Suites-Other MS Office MS Word Advertise Here 767 members asked questions and received personalized solutions in the past 7 days.