I have a code where in, I am trying to save the file with a required name.
Dim FilNameRq1 as string
Dim FormattingWbk as workbook
.
.
FormattingWbk.saveas FileNameRq1
FileNameRq1 here is \paer\Test Environment\Prep 01-25-18 12-00-59 PM\Classified Share Drive Report - Privates and Restricteds-en-None Members - WW0533969 - JOHN DIGGLE- 11-05-2017.xlsx
it works if the file name is \paer\Test Environment\Prep 01-25-18 12-00-59 PM\Test.xlsx