I'm using the below code to try and save a CSV file of Sheet 4 to the same file path as my existing .xslxm file. I know I'm missing something and the below may not even make sense but I'm learning VBA on the fly, mostly from recorded macros and reading other code on forums. Any help could be greatly appreciated.
Code:
ActiveWorkbook.SaveAs ThisWorkbook.Path & Filename = Sheet2.Range("K2").Value & ".csv", FileFormat:=CSV, CreateBackup:=False