Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-20-2023, 03:07 PM
chulupa89 chulupa89 is offline Run-Time error 5941 The Requested member of the collection does not exist , Please help Windows 10 Run-Time error 5941 The Requested member of the collection does not exist , Please help Office 2021
Novice
Run-Time error 5941 The Requested member of the collection does not exist , Please help
 
Join Date: Mar 2023
Posts: 1
chulupa89 is on a distinguished road
Question Run-Time error 5941 The Requested member of the collection does not exist , Please help

Hello, Im trying to use this macro for finding/replacing longer than 255 characters,

I went to this site for that Install/Employ VBA Procedures (Macros)



It said to use this code on the VB maco on word. You can find the exact code on the site But I keep getting that error. I have Windows Office 2021. Basically, All I did was click on "Macro" Created called "Test" and the VB window pops up.. Then I deleted everything there and just copied and pasted the entire code.. The only thing i changed was the location of "long String Source.doc" . On the "long string source.doc" file all I did was just pasted the long 255+ character that Im trying to find. Then saved and exited" Then I copied the exact text to replace

Next, i clicked run on the macro on my document and all it did was pop up the "Long String Source.doc" File with that error. Not sure what Im doing wrong. If someone can please help. Heres a screenshot of the code

imgur.com/a/pTK63pu
Imgur: The magic of the Internet
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
PLEASE HELP: Run-time error '5941', The requested member of the collection does not exist newb Word VBA 4 06-03-2021 05:11 PM
Word template with Macro keeps getting an error ''Run-time error 5941'' Marcel Word VBA 3 12-17-2019 04:55 PM
Run-Time error 5941 The Requested member of the collection does not exist , Please help Word 2010 the requested member of the collection does not exist flyboy3300 Word VBA 15 08-02-2016 01:40 AM
Run-time error 5941 when deleting a row from a table jpb103 Word VBA 1 05-26-2014 07:08 AM
5941 requested member of collection does not exist Prevents Userform from Showing marksm33 Word VBA 1 02-22-2014 08:56 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft