We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
this code is working just fine, but when i tried a similar code that contain a instr function i get an error 13-type mismatch
Set TDS = db.TableDefs On Error GoTo Err_Proc 'Loop through the tables collection For Each td In TDS If td.Connect = ";DATABASE=" & OldPathName Then msgbox "find Table" end if
If td.Connect = InStr(1, td.Connect, """ & OldPathName & """) <> 0 Then
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.