Thread
: [Solved]
find and replace a number that's always in a table and always adjacent to a cell with known text
View Single Post
04-01-2021, 02:53 PM
mbcohn
Windows 10
Office 2016
Advanced Beginner
Join Date: Jan 2021
Posts: 32
I made your correction to "Set wdoc" (adding the slash), but now I get "Runtime error 5, invalid procedure call or argument" on:
Code:
FileName = Mid(myPath, InStrRev(myPath, "") + 1, _ InStrRev(myPath, ".") - InStrRev(myPath, "") - 1)
mbcohn
View Public Profile
Find all posts by mbcohn