You can't have variables in a constant. Declare the variable as a string and then define the string that is strSubFolderNewName
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|