Trevor3007
Well-known Member
- Joined
- Jan 26, 2017
- Messages
- 675
- Office Version
- 365
- Platform
- Windows
hekko,
I have the following code :
however, users are asking if they can have the option to save as a standard or macro based workbook & to specified location too?
my VB is very limited & therefore reaching out top mr excl for help.
many thanks in advance
I have the following code :
VBA Code:
Private Sub filename_cellvalue()
Dim Path As String
Dim filename As String
Path = "C:\Users\user\Documents\Vista Mileage\Send to fleet manager\"
filename = Range("jb7").Value & Range("e2").Value & Range("e4").Value
ActiveWorkbook.SaveAs filename:=Path & filename & ".xls", FileFormat:=xlNormal
End Sub
however, users are asking if they can have the option to save as a standard or macro based workbook & to specified location too?
my VB is very limited & therefore reaching out top mr excl for help.
many thanks in advance