Code:
Dim HINTE As String: HINTE = Sheets("Temp").Range("T18").Value
Dim Pathf As String: Pathf = Sheets("Temp").Range("T15").Value
ChDir _
"filep"
ActiveWorkbook.SaveAs Filename:= _
"Pathf " & HINTE& ".xlsm" _
, FileFormat:=xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False
Hi, I am trying to do make a file path as a variable. Before I tried to make the file path as a variable, and just hard code the file path, it had no problem and worked fine. However, somehow after I defined file path as a Pathf variable, codes stopped working. Below is the file path, and Is there any way to resolve this issue?
C:\Users\Jaik\Desktop\RO
Thank you
Last edited: