Microsoft Word Runtime Error 4248
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Thu, 20 Oct 2016 14:22:48 GMT by s_nt6 (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 run time error 4605 visual basic of this site About Us Learn more about Stack Overflow the company run-time error '5941' application-defined or object-defined error Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users
Run-time Error 4605 Excel
Badges Ask Question x Dismiss Join the 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 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 minute: Sign up Normal.dotm macro throws error opening protected document up vote 1 down vote favorite I added the following macro to my Normal.dotm for Word 2010: Sub AutoOpen() ' ' AutoOpen Macro ' ' Dim aStory As Range Dim aField As Field For Each aStory In ActiveDocument.StoryRanges For Each aField In aStory.Fields aField.Update Next aField Next aStory ' set document as http://stackoverflow.com/questions/12037139/normal-dotm-macro-throws-error-opening-protected-document unchanged (prevents save dialog popping up when closing) - further changes will set this back ActiveDocument.Saved = True End Sub Now when I open some documents in Word 2010, I get the following error message: Run-time error '4248' This command is not available because no document is open So far this seems to occur for files that are opened in Protected view (e.g. files downloaded from the internet, or email attachments) - if I switch off Protected view in the Trust Centre the problem goes away. ms-word word-vba share|improve this question edited Dec 19 '15 at 18:27 Community♦ 11 asked Aug 20 '12 at 11:52 dunxd 4702926 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote Microsoft wrote a blog entry on detecting whether Protected Mode is running from within a macro. This shows that the value of Application.ActiveProtectedViewWindow is Nothing when a document is not in Protected View. 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. T
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 https://www.experts-exchange.com/questions/27505058/Errors-with-Word-opening-attachment-from-Outlook-Run-Time-Error-4248.html Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Errors with Word opening attachment from Outlook - Run Time Error 4248 Want to Advertise Here? 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,882 Views Last Modified: 2012-05-12 Hello all, I have a client who has Windows 7 Pro 64bit and Office 2010. time error 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 not available because no document is open" This only happes from an attachement and not when opening a file locally or off the local server. Person doesnt know programming or use VB so didnt screw with programming anywhere so any ideas how to fix? Thanks, Jimmy L 0 run time error Question by:forums712 Facebook Twitter LinkedIn Google LVL 4 Best Solution by0x6 Try to disable Word Add-ins one at a time and see if it makes any difference. From Word - MS Word icon - Word optoins - Add-ins Go to Solution 2 Comments LVL 4 Overall: Level 4 MS Word 1 Message Accepted Solution by:0x62011-12-21 Try to disable Word Add-ins one at a time and see if it makes any difference. From Word - MS Word icon - Word optoins - Add-ins 0 Message Author Closing Comment by:forums7122012-01-18 Yes this helped. Thanks!!! 0 Write Comment First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone. Comment Submit Your Comment By clicking you are agreeing to Experts Exchange's Terms of Use. Featured Post How to run any project with ease Promoted by Quip, Inc Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans. - Combine task lists, docs, spreadsheets, and chat in one - View and edit from mobile/offline - Cut down on emails Try Quip Free! Suggested Solutions Title # Comments Views Activity Word to WordPress: what formatting is needed? 8 47 114d WordPress: Need formatting suggestions for blogs text 4 72 102d font type, point size, readability questions 7 67 95d Printing issues with color, black an