Is this a Sub or a Function? If a Function, are you trying to call it from a cell formula?
Anyway, why "/[" rather than "\[" in the line where you set PathFileSheet?
I've never tried to use Application.WorksheetFunction methods (functions) with references into closed workbooks. Have you tried this before and had it work?
I believe you'll need to use ExcecuteExcel4Macro, but is your system using R1C1 addressing by default? Even if it were, I'm not sure ExecuteExcel4Macro accepts it.
Does
produce the expected results?
Bookmarks