Ooops, I didn't even see the double C:\
Need to remove comma from the CreateObject call. The code is not closing Word app. Make following changes:
Set appWord = CreateObject("Word.Application")
Set docm = appWord.Documents.Open(strDocmName)
appWord.Visible = True
blnQuitWord = True
Remove:
cnn.Close
A file picker is good idea. As is, user must enter the file suffix (.docm) as well as not commit any spelling error. https://www.accessforums.net/program...ame-39963.html
Might want to review link at bottom of my post on debugging techniques.