Home > Time Error > Word 2007 Run Time Error 5941

Word 2007 Run Time Error 5941

Contents

The time now is 10:54 PM. Crack the lock code Which is faster to delete first line in file... If you record a macro, you'll see where this template is located (mine is in "C:\Users\owner\AppData\Roaming\Microsoft\Document Building Blocks\1033\14\Built-In Building Blocks.dotx"). Bug encountered again on 21APR2007 at 1200 hrs. have a peek here

I have saved as a template (.dotm) and then saved document as a .docm but always get the same error. You'll be able to ask any tech support questions, or chat with the community and help others. I tried modifying the code to With ActiveDocument.ContentControls("Projects").DropdownListEntries using the ContentControls instead of FormFields but I still get the same runtime error (5941) with the above line. You may have to register before you can post: click the register link above to proceed.

Run Time Error 5941 The Requested Member Of The Collection Does Not Exist

Why would a decision making machine decide to destroy itself? Words formed from NUMBER with N to the left of U Why is this 'Proof' by induction not valid? So, you have two options.

What are the survival chances? I'm in design mode and I click on "Insert a dropdown list content control". Checked that numbers in doc map to Numbers in DB The Locals window shows Me Type ThisDocument/Document vRecordset Nothing VDept Value "" Type String I don't know enough to know whether Runtime Error 4248 Word 2013 I'm still getting the error in the same place.

Gordon Bentley-Mix Word MVP "Tonya C." <> wrote in message news:... > We have an macro linked in our letter macro that will add three addresses > at > the bottom Vba Error 4605 Seems that I would have to load both in order for the macro to "find" the Building Block/AutoText signature. The college in 'Electoral College' Is it possible to send all nuclear waste on Earth to the Sun? They are NOT the same.

Reply With Quote Quick Navigation Word Help Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Announcements Announcements Introductions VBA Code & Other Help How to Runtime Error 4248 Word 2010 Member Login Remember Me Forgot your password? Advertisements Latest Threads BT tops UK broadband complaints list Becky posted Dec 20, 2016 at 3:44 PM 999 What is your emergency? If not displayed, display the Project Explorer (CTRL+r).

Vba Error 4605

If you are not, it could be something as simple as a typo. 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 Run Time Error 5941 The Requested Member Of The Collection Does Not Exist What functionality recorded in a macro would require the generated vba code to refrence the location of the built-in building blocks? –Christian Mar 1 '13 at 13:39 Actually, I Run Time Error 4605 Word 2010 No, thanks Log in or Sign up PC Review Home Newsgroups > Microsoft Word > Microsoft Word Document Management > Run Time Error 5941 Discussion in 'Microsoft Word Document Management'

Also, to make the AttachedTemplate part of the code work, you MUST change the Save In box from Building Block.dotx to the name of the template that contains the code. navigate here 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.) > > -- 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 Privacy statement Community Resources O365 Technical Network MSDN Forums UserVoice Stack Overflow Follow Us Twitter Facebook Office Dev Blog © 2016 Microsoft United States - English Terms of Use Trademarks Privacy Runtime Error 4248 This Command Is Not Available Because No Document Is Open

I have saved as a template (.dotm) and then saved document as a .docm but always get the same error. Related 0Requested Member of the Collection Does Not Exist in Office 2007 and Office 20100VBA Error 4198 “Runtime Error” With Paste0Can't get value from text box, runtime error 424 object required0Requested It is a formfield that is the issue. http://evollux.net/time-error/word-macro-run-time-error-5941.html To do this, click on Insert > Quick Text > Buliding Blocks, find your Building Block in the list, edit its properties, and save it to Normal.

Guest Where would I find the code. Run-time Error '5941' Application-defined Or Object-defined Error If you can indicate where the code breaks > even better. > > 2. 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

You may have to register before you can post: click the register link above to proceed.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. Sign Up Now! 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 Run Time Error 4605 Visual Basic Results 1 to 6 of 6 Thread: [RESOLVED] Runtme Error 5941 Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded

Please try the request again. If you can indicate where the code breaks > > even better. > > > > 2. Your cache administrator is webmaster. this contact form Using flags vs.

How can I make my work available to the community, when it is in conference proceedings that are not online and self archiving is not allowed? 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 And start using Option Explicit. Now > > > when > > > we select the letter macro and pick the Personal Injury selection, we get > > > the > > > Run Time Error

Tonya C. 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 Specifically, I'm receiving the Runtime error "5941" The requested member of the collection does not exist.