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

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

Contents

I'm not skilled in either Word or Access but have used VBA in Excel. Post your code. Are you aComputer / IT professional?Join Tek-Tips Forums! All rights reserved. http://sortoutlookemail.com/time-error/run-time-error-3265-item-not-found-in-this-collection.html

To > determine what that member and collection is would require access to > your code. > Tonya C., Oct 7, 2009 #6 Greg Maxey Guest Tonya, With the document I am new to working with macros. Generated Thu, 08 Dec 2016 10:41:27 GMT by s_wx1194 (squid/3.5.20) Login with LinkedIN Or Log In Locally Email Password Remember Me Forgot Password?Register ENGINEERING.com Eng-Tips Forums Tek-Tips Forums Search Post your code.

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

Hi Gerry, I now have to admit to being very dense I had thought that the bk in the code was identifying the bookmark Obviously not - it was part of Failed to find the 'fCust' bookmark in " & SourceTemplateName Exit Sub End If On a side note, you can probably use a Document object to simplify your code. Join them; it only takes a minute: Sign up Word VB - error '5941' and for-loop up vote 0 down vote favorite 1 I have two questions. Are there any OSes that verify program signatures before executing them?

Sign up now! What is the problem? I put an Amount - 1 in my For i statement and it is now working without error. Run-time Error '5941' Application-defined Or Object-defined Error BernRI replied Dec 9, 2013 Thanks again for your input.

Help my maniacal wife decorate our Christmas tree How to generate all string's suffixes after split? Vba Error 4605 Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Yes, my password is: Forgot your password? http://www.vbforums.com/showthread.php?626222-RESOLVED-Runtme-Error-5941 If not displayed, display the Project Explorer (CTRL+r).

I am new to working with macros. Runtime Error 4248 Word 2013 Click Here to join Tek-Tips and talk with other members! Now > > when > > we select the letter macro and pick the Personal Injury selection, we get > > the > > Run Time Error 5941 - The requested Add a language to a polyglot Riddle-Yet-Another-Riddle!

Vba Error 4605

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! Are you using Option Explicit? Run Time Error 5941 The Requested Member Of The Collection Does Not Exist 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 Runtime Error 4248 This Command Is Not Available Because No Document Is Open Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum!

If you are not, it could be something as simple as a typo. have a peek at these guys The problem is a requested member of a collection does not exist. Unfortunately people equate the two - formfields and bookmarks. Click in the code window and step through the macro using the F8 key to try to determine the line of code that throws the error. Run Time Error 4605 Word 2010

Without it there's no way even the best of us could > discern where the problem lies. Why did the humans never use EMP bombs to kill the machines in The Matrix? Top White Papers and Webcasts Popular Beginner's Guide to VoIP Related Evolution of End User Computing--Evolving to Better Meet ... 3 Essential Components for a Strong Enduser Security ... check over here Until then I'd been in a total fog.

All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. Runtime Error 4248 Word 2010 Why would Snape set his office password to 'Dumbledore'? 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).

Here's Why Members Love Tek-Tips Forums: Talk To Other Members Notification Of Responses To Questions Favorite Forums One Click Access Keyword Search Of All Posts, And More...

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 Without it there's no way even the best of us could discern where the problem lies. Start a new thread here 5380945 Related Discussions Automate Mail Merge help with Code in access 2000 Runtime Error 5941 "The requested member of the collection does not exist" Accessing a Run Time Error 4605 Visual Basic Tonya C.

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!!!!! Not the answer you're looking for? What matters is whether the file is visible - that is, whether there is a window open for the file. this content Tonya C.

{{offlineMessage}} Try Microsoft Edge, a fast and secure browser that's designed for Windows 10 Get started Store Store home Devices Microsoft Surface PCs & tablets Xbox Virtual reality Accessories Windows phone Your cache administrator is webmaster. PCMag Digital Group AdChoices unused Register Help Remember Me? Portal Forum FAQ Calendar Forum Actions Mark Forums Read Quick Links View Site Leaders Knowledgebase Articles Blogs Resources Consulting Services Tonya C.

Option Explicit Private Sub AddLine_Click() Application.Templates.LoadBuildingBlocks Dim theTextbox As Object Dim textboxCounter As Long For textboxCounter = 1 To Amount Set theTextbox = UserForm1.Controls.Add("Forms.TextBox.1", "Test" & textboxCounter, True) With theTextbox .Name Meyers-Jouan Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... Second, I am attempting to add "textboxCounter" to "Set TBs(0) = UserForm1.Controls("TextBox_1"):" So I don't need to declare textboxes 1 - 10 so I can have as many test boxes I share|improve this answer answered May 30 '14 at 18:20 JohnB 439 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign

Already a member? PC Review Home Newsgroups > Microsoft Word > Microsoft Word Document Management > Home Home Quick Links Search Forums Recent Posts Forums Forums Quick Links Search Forums Recent Posts Articles Articles