|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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 |
|
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 |
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 |