Home > Time Error > Word Runtime Error 5941

Word Runtime Error 5941


Novice? Register now while it's still free! Code: Dim cnt As New ADODB.Connection Dim rst As New ADODB.Recordset Dim strDB As String Set cn = New ADODB.Connection 'Set string path to database' strDB = "C:\users\stacy\documents\my data sources\PEI.accdb" 'Open Close this window and log in. http://pdctoday.com/time-error/word-vba-error-5941.php

Thanks, Wednesday, December 29, 2010 7:33 PM Reply | Quote 0 Sign in to vote Hi jstouse <http://answers.microsoft.com/en-us/office/forum/office_2010-word/run-time-error-5941-not-always-but-annoyingly/b95ec1db-6928-4d87-b799-52d4f1c01f08

Run-time Error '5941' Application-defined Or Object-defined Error

Thank you though, your post put me on the right track, the penny dropped almost straight away and I checked the bookmarks in the sample form. You may have to register before you can post: click the register link above to proceed. In Word 2007 or 2010, AutoText has become part of the larger Building Blocks feature.

I've checked and rechecked the file name and name of the dropdown. When the error occurs, the line causing the error should be highlighted Insomnia is just a byproduct of, "It can't be done" Newbie? Spend a few minutes browsing the FAQ section of the forum. Runtime Error 4248 This Command Is Not Available Because No Document Is Open Then tell us which line the error is on.

Registration on or use of this site constitutes acceptance of our Privacy Policy. Run Time Error 5941 Word 2013 I have a different issue now so I will mark this as resolved and put out a new post. Maybe the document template isn't what your code expects it to be. https://social.msdn.microsoft.com/Forums/office/en-US/8ffb33d5-a876-49c2-aaf3-22c02257c903/runtime-error-5941-the-requested-member-of-the-collection-does-not-exist?forum=worddev ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: Connection to failed.

Here is the list of TAGs you can use to format your posts Here are VB6 Help Files online {Alpha Image Control} {Memory Leak FAQ} {GDI+ Classes/Samples} {Unicode Open/Save Dialog} {Icon Run Time Error 4605 Word 2010 I've checked the bookmarks by using Edit|Go To|Bookmark. Hope This Helps, PH.FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions?FAQ181-2886: How can I maximize my chances of getting an answer? tiam ...

Run Time Error 5941 Word 2013

share|improve this answer answered Jun 8 '15 at 10:09 ChipsLetten 2,3281319 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign http://stackoverflow.com/questions/30705042/runtime-error-5941-the-requested-member-of-collection-does-not-exist Are you using Option Explicit? Run-time Error '5941' Application-defined Or Object-defined Error Reply With Quote 09-09-2010,01:54 PM #3 Mifty View Profile View Forum Posts View Blog Entries View Articles VBAX Newbie Joined Sep 2010 Posts 3 Location Originally Posted by fumei If it Error 4605 Word 2013 You should have noticed that the dialog you get when you press F3 is different from the one shown on Greg's page; now it's a Create New Building Block dialog with

but it is not creating file in other PCs. this website Close Reply To This Thread Posting in the Tek-Tips forums is a member-only feature. PCMag Digital Group AdChoices unused Below is the code and I've highlighted in red the line where the error occurs. The Requested Member Of The Collection Does Not Exist Word 2013

Thanks so much for all of your help. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. You may have to register before you can post: click the register link above to proceed. http://pdctoday.com/time-error/word-vba-5941-error.php All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission.

Read the HitchHiker's Guide to Getting Help on the Forums. Runtime Error 4248 Word 2010 All product names are trademarks of their respective companies. Copyright 2004 - VBA Express Login with LinkedIN Or Log In Locally Email Password Remember Me Forgot Password?Register ENGINEERING.com Eng-Tips Forums Tek-Tips Forums Search Posts Find A Forum Thread

but it is throwing that error if i run Program EXE file even if my PC.

I have saved as a template (.dotm) and then saved document as a .docm but always get the same error. Reply With Quote Jul 28th, 2015,03:00 AM #11 georgekar View Profile View Forum Posts Visit Homepage Fanatic Member Join Date May 2014 Location Kanallaki Greece Posts 801 Re: Runtime Error 5941 Results 1 to 12 of 12 Thread: Runtime Error 5941 The Requested Member of the Collection Does Not Exist Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Runtime Error 4248 Word 2013 BernRI replied Dec 9, 2013 Thanks for the help but it still gives me an error but now on the revised Documents("Kit Label Framework.docx").Open it gives me a run-time error 438

If you are not, it could be something as simple as a typo. Code: Dim cnt As New ADODB.Connection Dim rst As New ADODB.Recordset Dim strDB As String Set cn = New ADODB.Connection 'Set string path to database' strDB = "C:\---" 'Open the database Generated Wed, 02 Nov 2016 23:08:39 GMT by s_wx1194 (squid/3.5.20) {{offlineMessage}} Store Store home Devices Microsoft Surface PCs & tablets Xbox Virtual reality Accessories Windows phone Software Office Windows Additional software see here Any help would be great.

Formfields have bookmarks. Why do rocket nozzles open near the end Which word wasn't with Wednesday's ...crossword Does Java's try-with-resources catch errors or just exceptions? Did this line execute, was the file created: objtemp.SaveAs .... 3. Log In E-mail or User ID Password Keep me signed in Recover Password Create an Account Blogs Discussions CHOOSE A TOPIC Business Intelligence C Languages Cloud Computing Communications Technology CRM

Specifically, I'm receiving the Runtime error "5941" The requested member of the collection does not exist.