Yes, I copied the version of code Rick posted at Oct 20, 2020, 5:48 AM, but it too fails to wait until Explorer closes. Below is my code that calls Shellwait.
Code:
Option Compare Database
Option Explicit
Dim ShellString As String
Dim ShellRC As Variant
Public Sub ImageLib()
'Give the user the opportunity to view and/or update the TMS companion image library
ShellString = "c:\Windows\Explorer.exe " & TMSClientPath & TMSClientImages
Call ShellWait(ShellString, 1)
MsgBox "Debug: We've returned from Explorer"
'Update the DLM of the image library so we'll know whether any folder change occurred
dblImDLM = CDbl(FileDateTime(TMSClientPath & Replace(TMSClientImages, "\", "")))
End Sub