Hi there,
Can anyone please help me with this?
I need a macro to copy a sheet into a new workbook, save it in a certain location and name it as one fixed part & cell value & another fixed part.
Below is what I have so far, basically, I want the bolded A1 in the code to be the value in the A1 cell.
Thanks so much!
Sub Fisier()
'
' Fisier Macro
'
'
Sheets("extract").Select
Sheets("extract").Copy
ChDir "C:\Users\AntonG\Desktop"
ActiveWorkbook.SaveAs Filename:= _
"C:\Users\AntonG\Desktop\Nume A1 Prenume.xlsx", FileFormat:=xlOpenXMLWorkbook _
, CreateBackup:=False
Application.WindowState = xlNormal
End Sub
Can anyone please help me with this?
I need a macro to copy a sheet into a new workbook, save it in a certain location and name it as one fixed part & cell value & another fixed part.
Below is what I have so far, basically, I want the bolded A1 in the code to be the value in the A1 cell.
Thanks so much!
Sub Fisier()
'
' Fisier Macro
'
'
Sheets("extract").Select
Sheets("extract").Copy
ChDir "C:\Users\AntonG\Desktop"
ActiveWorkbook.SaveAs Filename:= _
"C:\Users\AntonG\Desktop\Nume A1 Prenume.xlsx", FileFormat:=xlOpenXMLWorkbook _
, CreateBackup:=False
Application.WindowState = xlNormal
End Sub