Home > Microsoft Visual > Microsoft Visual Basic Runtime Error 5151

Microsoft Visual Basic Runtime Error 5151

How to easily fix Microsoft Visual Basic Runtime Error 5151 error? Or it is supposed to be on a network drive mapped under some letter, maybe you do not have that drive or you have it under a different letter. You should be able to go back to your original values should there be any troubles by deleting the new key and renaming the old key back to Word. Be back shortly. http://goglospex.com/microsoft-visual/microsoft-visual-basic-runtime-error-2004.html

Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i… MS Access MS Access – Repeating Sub-Report Thanks, Andrew 0 Comment Question by:AndrewMcLaughlin Facebook Twitter LinkedIn https://www.experts-exchange.com/questions/20935795/Run-Time-Error-5151.htmlcopy LVL 65 Best Solution byrockiroads by valid I not only meant a valid path but also the document exists Go to Try one of the following: *Open and Repair the file. *Open the file with the Text Recovery converter. I'm typing it into the hyperlink by hand instead of browsing to it, as the instructions from microsoft support says to do..

Share Share this post on Digg Del.icio.us Technorati Twitter Reply With Quote « Previous Thread | Next Thread » Like this thread? Compatibility: Windows 7, 8, Vista, XP Download Size: 6MB Requirements: 300 MHz Processor, 256 MB Ram, 22 MB HDD Limitations: This download is a free evaluation version. http://photo-larache.blogspot.com/ Reply With Quote Apr 14th, 2010,12:39 PM #3 Jackdripah Board Regular Join Date Sep 2008 Posts 188 Re: Open or Print Microsoft Word Document I know this post is way

Not sure what's happening waltermcculloch View Public Profile Find More Posts by waltermcculloch 02-11-2010, 09:37 #5 IvanIV Forum Member Join Date: May 2006 Posts: 25,184 Can you find Britain's Got Talent TV Shows: Cult, Sci-Fi & Fantasy Doctor Who Soaps Soaps: The Games Room Make sure Word is not running when you do this. * version number depends on Office version, I have 12.0 for Office 2007. Since Runtime error 5151 is related to missing DLL files, you can re-register the registry list to fix Runtime error 5151 issue.

You could try to doubleclick it to see if Word opens a new document using it as a template. Does anyone have any idea what the problem could be? This causes issues with Word, specifically the inability to load Normal.dotm. https://social.technet.microsoft.com/Forums/office/en-US/72933c7e-31c1-493a-b178-9dba4ec30aae/mystery-macro-run-time-error?forum=officeitproprevious All the above actives may result in the deletion or corruption of the entries in the windows system files.

Sincerely, ~Becca HiTechCoach Jun 17 2011, 10:38 AM Becca,sing the shortcut method was a way to trick Word when you don't have some was to automate teh process. . dancingwwaves Jun 14 2011, 10:54 AM Hi, mlindsay!Thanks for the suggestion! Instructions To Fix (Microsoft Visual Basic Runtime Error 5151) error you need to follow the steps below: Step 1: Download (Microsoft Visual Basic Runtime Error 5151) Repair Tool This is not so in Access.

http://photo-larache.blogspot.com/ Reply With Quote Apr 15th, 2010,05:34 AM #5 Jackdripah Board Regular Join Date Sep 2008 Posts 188 Re: Open or Print Microsoft Word Document Many Thanks Jaafar, it worked! To re-register the file, please do this: 1. The macro does not use full path to address the template, so it searches in predefined places. Type in regsvr32 c:\windows\system32\dllfile Download Repair tools 3.

It's linked into our system and merges information into the template. have a peek at these guys I receive the error message Run time error '5151' was unable to read this document. looks at your code a little closer and say this:Set owordDoc = owordApp.Documents.Add("C:\Documents and Settings\bsmithab\My Documents\CWIC\Benefits Counseling\Data Collection\Link to TransCen EN intake form.lnk")If you look at the code I post it If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.Would you like to participate?

If you are experiencing a similar issue, please ask a related question Suggested Solutions Title # Comments Views Activity Help with SQl and UNION 3 25 12d Adding muliple reports to IvanIV View Public Profile Find More Posts by IvanIV 05-11-2010, 17:17 #17 waltermcculloch Forum Member Join Date: Oct 2006 Posts: 242 Hi Got it sorted. When I choose the debugger it yellow highlights the line: Set m_objects=m_objWord.Documents.Add(m_strDIR &m_strTEMPLATE) Can anyone suggest what's going wrong here? check over here The corrupted system files entries can be a real threat to the well being of your computer.

I can open and print if I have the exact filename (Doc1.doc). All rights reserved.Newsletter|Contact Us|Privacy Statement|Terms of Use|Trademarks|Site Feedback Register Help Remember Me? When my colleague signs on to the network and the Test system on my PC, it doesnt work.

When I ran the code, I would get 'Run time error 5151 Word was unable to read this document.

Share Share this post on Digg Del.icio.us Technorati Twitter Reply With Quote Apr 15th, 2010,02:06 AM #4 Jaafar Tribak Board Regular Join Date Dec 2002 Location Larache--Morocco Posts 5,694 Re: Open It may be corrupt. IvanIV View Public Profile Find More Posts by IvanIV 03-11-2010, 21:26 #14 waltermcculloch Forum Member Join Date: Oct 2006 Posts: 242 Thanks for all your help/advice with this. Powered by vBulletin Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc.

And of course, I can't seem to find any info on it right now. Thread Tools Rating: Display Modes 10-12-2014, 08:21 AM #1 feprice Newly Registered User Join Date: Oct 2014 Posts: 2 Thanks: 0 Thanked 0 Times in 0 Posts Run time Any ideas?THere is my code: CODEPrivate Sub cmdIntakeForm_Click()'from HiTechCoach on UtterAccess: http://www.utteraccess.com/forum/Hyperlink-Template-Word-t1968617.html#entry2124805Dim owordApp As Word.ApplicationDim owordDoc As Word.DocumentSet owordApp = New Word.ApplicationSet owordDoc = owordApp.Documents.Add("C:\Documents and Settings\bsmithab\My Documents\CWIC\Benefits Counseling\Data Collection\Link to this content waltermcculloch View Public Profile Find More Posts by waltermcculloch 03-11-2010, 22:17 #16 IvanIV Forum Member Join Date: May 2006 Posts: 25,184 Yeah, that means you use your domain account.

I had a case when one user could not execute mail merge using a Unicode text file, the reason was that he somehow managed to store default format of the merge It was a problem with the Workgroup Templates File Location setting in the Options setting in Word. I'll try the things you suggest and get back to you to let you know how it goes - wish I knew more about these kind of things, but hey, I'm Click here follow the steps to fix Microsoft Visual Basic Runtime Error 5151 and related errors.

There are templates provided with the system and they work, it's a new one which the software supplies made specifically for us. Word will use default values when you start it for the first time. waltermcculloch View Public Profile Find More Posts by waltermcculloch 03-11-2010, 20:44 #13 IvanIV Forum Member Join Date: May 2006 Posts: 25,184 It is related to your Windows account (in It can also be caused if your computer is recovered from a virus or adware/spyware attack or by an improper shutdown of the computer.

An incomplete installation, an incomplete uninstall, improper deletion of applications or hardware. Word can be seen trying to use the SYSTEM profile: H:MM:SS.SSSSSSS PM WINWORD.EXE 4032 IRP_MJ_CREATE C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Templates\Normal.dotm NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, It worked just fine for me. i.e.

The time now is 06:51 AM. Microsoft Access Help General Tables Queries Forms Reports Macros Modules & VBA Theory & Practice Access FAQs Code Repository Sample Databases Video Tutorials Sponsored Some thoughts: 1) Do you have a final "\" in the m_strDIR 2) Does the constructed name already exist ? If you wanted to inspect/ite… MS Access MS Access – Cascading Combos Video by: Jim In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control Can anyone else think on any other causes.

About Us Contact us Privacy Policy Terms of use Full Version: Hyperlink To Template Word Document Opens Template, Not Blank, Document UtterAccess Forums > Microsoft Access > Access Forms dancingwwaves Jun Sorry my suggestions are fairly low brow, I'm a system administrator, not a VBA programmer. Documents.Add Template:=TemplateType$, newtemplate:=0 Not sure if this helps waltermcculloch View Public Profile Find More Posts by waltermcculloch 02-11-2010, 09:13 #3 IvanIV Forum Member Join Date: May 2006 Posts: