Change the line
toImgPath = ThisDocument.Path
better stillImgPath = ThisDocument.Path & "\"
Sub Logocheck() Dim ImgName As String Dim ImgPath As String ImgPath = ThisDocument.Path ImgName = Dir$(ImgPath & "\*logo*") While ImgName <> "" MsgBox ImgName ImgName = Dir$() Wend End Sub




Reply With Quote