Assuming that you have a name in, say, cell A1 with which you wish to name the new work book, the following code may do the task for you:-
Dim rng As Range
Dim ws As Worksheet
Dim nFN As String
Set ws = Sheet1
Application.ScreenUpdating = False
nFN = "C:\Users\YOUR FILEPATH HERE\" & Range("A1").Value & ".xlsx"
Set rng = .UsedRange
MsgBox "Done!", vbExclamation
Application.CutCopyMode = False
Application.ScreenUpdating = True
The code will create a new work book, name it from cell A1 and copy all data from the active sheet in the current work book to the first sheet in the new work book.
You may have to change line 6 to the sheet that you are creating the new work book from.
In line 10, you will need to add the file path that you need to save the new work book to.
If the new file name is in another cell, just change the reference to cell A1 in line 10 above.
I hope that this helps.