Home > Time Error > Run Time Error 4605 This Command Is Not Available

Run Time Error 4605 This Command Is Not Available

Contents

Cancel Red Flag SubmittedThank you for helping keep Tek-Tips Forums free from inappropriate posts.The Tek-Tips staff will check this out and take appropriate action. I'm using the followiing object libraries: Word & Access 12.0, Forms 2.0. 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. Please try the request again. http://digitalfishbowl.net/time-error/run-time-error-4605-word-2010.html

Register now while it's still free! Michael S. Browse other questions tagged vba ms-word word-vba or ask your own question. Any help would be great.

Run Time Error 4605 This Command Is Not Available

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 They are NOT the same. The 2nd docx file with the data could not be loaded.So I opened the docx file with the data, whit a 2nd macro and it works.CODEDim path As String Application.ScreenUpdating = The code is apparently trying to do something with something that doesn't exists (e.g., put text in a table cell that doesn't exist).

Stops at [FONT=Arial]vDeptCode = ActiveDocument.FormFields("bkDeptCode").Result[/FONT] Formatting tags added by mark007 . Also checked names in DB and Table name although code does not get to table name bit. Are you using Option Explicit? Runtime Error 4248 Word 2013 Click Here to join Tek-Tips and talk with other members!

I'm still pretty green at this so I would greatly appreciate any help...I'm sure it's something dumb that I'm just missing so thank you for your patience and assistance. 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 Now when we select the letter macro and pick the Personal Injury selection, we get the Run Time Error 5941 - The requested member of the collection does not exist. 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 Copyright © 2004 - VBA Express

To determine what that member and collection is would require access to your code. -- Greg Maxey See my web site http://gregmaxey.mvps.org for an eclectic collection of Word Tips. "It is Run-time Error '5941' Application-defined Or Object-defined Error Reply With Quote Quick Navigation Office Development Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Visual Basic Visual Basic .NET VB.net CodeBank Visual Basic 6 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. Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free.

Run Time Error 4605 Word 2010

Help!!! Doug Robbins - Word MVP, dkr[atsymbol]mvps[dot]org Posted via the Community Bridge "Woodabyna" wrote in message news:[email protected]m... Run Time Error 4605 This Command Is Not Available My original plan was to use a global template (located in the Workgroup location.) With Word 2007 I have to save my macros in a .dotm and my building blocks (auto Runtime Error 4248 This Command Is Not Available Because No Document Is Open Has there ever been a sideways H-tail on an airplane?

If you can indicate where the code breaks even better. 2. weblink Pesach Shelnitz[_2_] View Public Profile View message headers Find all posts by Pesach Shelnitz[_2_] Find all threads started by Pesach Shelnitz[_2_] #6 October 7th 09, 02:21 PM posted to I'll have a better look - thanks Reply With Quote 09-10-2010,03:30 AM #4 Mifty View Profile View Forum Posts View Blog Entries View Articles VBAX Newbie Joined Sep 2010 Posts 3 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!!!!! Runtime Error 4248 Word 2010

That's why I explained how to add a window for a file that is open. 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 Copyright ©2004-2016 Microsoft Office Word Forum - WordBanter. navigate here Runtime Error 5941 The Requested Member of the Collection Does Not Exist BernRI asked Dec 8, 2013 | Replies (5) Every time I run this macro Sub KitLabels() ' ' KitLabels

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 Run Time Error 4605 Visual Basic Join UsClose current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. If you are not, it could be something as simple as a typo.

I am new to working with macros.

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 Unfortunately people equate the two - formfields and bookmarks. 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 Word 2013 Resources Join | Indeed Jobs | Advertise Copyright © 1998-2016 ENGINEERING.com, Inc.

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 Any help would be great. Advanced Search VBForums Visual Basic Office Development [RESOLVED] Runtme Error 5941 If this is your first visit, be sure to check out the FAQ by clicking the link above. http://digitalfishbowl.net/time-error/runtime-error-4605-word-2013.html Home | Invite Peers | More Visual Basic Groups Your account is ready.

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 Help!!! 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 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

finding a word in a string Yet Another, Another Prime Generator Unknown symbol on schematic (Circle with "M" underlined) Why didn’t Japan attack the West Coast of the United States during Not the answer you're looking for?