Hi everyone, I've found a few different threads on the elements of this but I haven't been able to cobble them together, hoping you may be able to help.
I'm looking to run a command which will
I came across the below which does some of it but I'm having trouble piecing it all together :/
I'm looking to run a command which will
- open the save as dialogue on screen
- Defaultly fill the file name with 'INV_TRC_[cel c1]_[current date time as DDMMYYYYHHMMSS]
- file type CSV
I came across the below which does some of it but I'm having trouble piecing it all together :/
Code:
[COLOR=#2D4050][FONT='inherit']Sub SaveUnique()
'
' Save a file with a unique name
'
ActiveWorkbook.SaveAs Filename:="C:\Temp\Book" & Format(Now(), "yyyymmddhhmmss") & ".xlsx", _
FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
End Sub[/FONT][/COLOR]
Last edited: