Hello Friends,
This is part of my macro which I am using.
Can I tell the code to pick file name from cell value & some free defined text in the code.
For Example
Cell A1 = "Honda"
Cell B2 = "Civic"
I would like the file name to be "MAKE Honda MODEL Civic"
something like this
"MAKE" & Range A1.value & "MODEL" & Range B2.Value
Any help would be appreciated
Regards,
Humayun
This is part of my macro which I am using.
Code:
Sub makecopy()
Workbooks.Add
ChDir "C:\BACKUP"
ActiveWorkbook.SaveAs Filename:="C:\Backup\[B][COLOR=#ff0000]Factory Target[/COLOR][/B].xlsx", FileFormat:= _
xlOpenXMLWorkbook, CreateBackup:=False
End Sub
Can I tell the code to pick file name from cell value & some free defined text in the code.
For Example
Cell A1 = "Honda"
Cell B2 = "Civic"
I would like the file name to be "MAKE Honda MODEL Civic"
something like this
"MAKE" & Range A1.value & "MODEL" & Range B2.Value
Any help would be appreciated
Regards,
Humayun