How to deal with a really persuasive character? I've checked the reference libraries and believe that I am using the correct ones. Would love this to work as I can not have both controls and legacy form controls in same document - good on you microsoft! The problem is a requested member of a collection does not exist. http://postmapper.com/time-error/5941-error-access.html
Why is the end of the F-35's jet nozzle 'spiky' How is "pretty" translated? Seems that I would have to load both in order for the macro to "find" the Building Block/AutoText signature. Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next dim all variables as required Jay Freedman MS Word MVP Marked as answer by Bessie Zhao Tuesday, July 13, 2010 2:18 AM Wednesday, July 07, 2010 2:10 PM Reply | Quote All replies 0 Sign in official site
Greg Maxey View Public Profile View message headers Find all posts by Greg Maxey Find all threads started by Greg Maxey #4 October 6th 09, 11:42 PM posted to All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. Specifically, I'm receiving the Runtime error "5941" The requested member of the collection does not exist. Ads #2 October 6th 09, 10:08 PM posted to microsoft.public.word.docmanagement,microsoft.public.word.vba.general Gordon Bentley-Mix[_2_] external usenet poster Posts: 154 Run Time Error 5941 Two suggestions: 1.
View Public Profile View message headers Find all posts by Tonya C. Post your question in the programming newsgroup where most of the geeks hang out. (I've cross-posted my reply so you should be good to go now.) -- Cheers! Why does a "parent" generate a "sister"? Vba Error 4605 To start viewing messages, select the forum that you want to visit from the selection below.
You can add this test to your code before you try to use the fCust bookmark: If Windows(SourceTemplateName).Document.Bookmarks.Exists("fCust") = False Then MsgBox "You are not using the correct source document. Results 1 to 5 of 5 Thread: Solved: Word Runtime error '5941' Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded It is run in a word document for repair order form. I have followed Greg's instructions for check boxes on http://gregmaxey.mvps.org/Add_Toggle_Objects.htm but when I double click on the box it gives me the run time error.
Post your code. Runtime Error 4248 This Command Is Not Available Because No Document Is Open Why is the end of the F-35's jet nozzle 'spiky' What are the last three digits of the product of the odd numbers from 1 to 1000? How to pluralize "State of the Union" without an additional noun? Woodabyna wrote: I have followed Greg's instructions for check boxes on http://gregmaxey.mvps.org/Add_Toggle_Objects.htm but when I double click on the box it gives me the run time error.
I have saved as a template (.dotm) and then saved document as a .docm but always get the same error. http://stackoverflow.com/questions/30705042/runtime-error-5941-the-requested-member-of-collection-does-not-exist Not the answer you're looking for? Runtime Error 5941 Word Are there any additional fundamentals of physics in addition to space-time, energy, mass, and charge? Run Time Error 5941 Word Macro What is the problem?
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 wrote: We have an macro linked in our letter macro that will add three addresses at the bottom of the footer when you select the Personal Injury Macro. What is the problem? I've even manually added text the dropdown to make sure that it worked. Error 5941 The Requested Member Of The Collection
Join them; it only takes a minute: Sign up Runtime Error '5941' The Requested Member of Collection Does Not Exist up vote -1 down vote favorite When running the macro I Resources Join | Indeed Jobs | Advertise Copyright © 1998-2016 ENGINEERING.com, Inc. Already a member? weblink I am trying to simply create a series of macros that assistants can use to insert a signature building block into a document.
One other bit: Don't save the code into a .docm document, because that will lose the AutoText entries (which can only be stored in templates, not in documents). Run-time Error '5941' Application-defined Or Object-defined Error The credit belongs to the man in the arena, whose face is marred by dust and sweat and blood, who strives valiantly...who knows the great enthusiasms, the great devotions, who spends To get an AutoText entry, you MUST change the Gallery box from "Quick Parts" to "AutoText".
Join UsClose Register Help Remember Me? Portal Forum FAQ Calendar Forum Actions Mark Forums Read Quick Links View Site Leaders Knowledgebase Articles Blogs Resources Consulting Services Training PayPal Donation Advanced I'm not sure what else to try?? Register now while it's still free! Run Time Error 5941 Word 2013 more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
Close this window and log in. Help!!! I have saved as a template (.dotm) and then saved document as a .docm but always get the same error. Click Here to join Tek-Tips and talk with other members!
Implementing namespaces in plugin template Rewriting Infinite Sum I can make 1 + 1 = 1. Any help would be great. Sub PopulateBookingForm() Dim SourceTemplateName As String, DestTemplateName As String ' Set Method Statement Name SourceTemplateName = ActiveDocument.Name ' Open Heavy Cranes ICO Booking Form ChangeFileOpenDirectory "\\SERVERSHARE\HCD\HCD General\Templates\" Documents.Open FileName:= _ "\\SERVERSHARE\HCD\HCD Tonya C.
I have a different issue now so I will mark this as resolved and put out a new post. You may have to register before you can post: click the register link above to proceed. If not displayed, display the Project Explorer (CTRL+r). You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below. Tonya C. Not the answer you're looking for? In Word 2007 or 2010, AutoText has become part of the larger Building Blocks feature.
I've downloaded the sample db and word form from mousetrax.com Autoforms with grateful thanks to Dian The original form and database work fine. If you can indicate where the code breaks even better. 2. Are you using Option Explicit? Browse other questions tagged vba ms-word word-vba or ask your own question.
Mifty Reply With Quote 09-10-2010,10:43 AM #5 fumei View Profile View Forum Posts View Blog Entries View Articles VBAX Wizard Joined May 2004 Posts 6,713 Location And use Option Explicit!!!!! asked 9 months ago viewed 719 times active 6 months ago Related 1Error in a Word VBA macro, trying to insert values into bookmarks1Using wildcards in word macro9Create new Word document Either way I do it, I'm still receiving the same error. external usenet poster Posts: 4 Run Time Error 5941 We have an macro linked in our letter macro that will add three addresses at the bottom of the footer when
please help Thanking you in advance Mifty Reply With Quote 09-09-2010,01:24 PM #2 fumei View Profile View Forum Posts View Blog Entries View Articles VBAX Wizard Joined May 2004 Posts 6,713 With ActiveDocument.Bookmarks .Add Name:="SerialNumber", Range:=Rng1 End With ActiveDocument.Save End Sub The debug brings me to this line: Set Rng1 = ActiveDocument.Bookmarks("SerialNumber").Range I am at wits end and am not sure how