I have having issues working out how to save a file without using full length file paths... As I am using the excel namespace the default save directs to documents, rather than the project directory.
Here is what I have been trying :
Private Sub createStationsCSV(ByRef station As String)
Dim appXL As Excel.Application = CreateObject("Excel.Application")
'appXL.DefaultFilePath = "C:\Users\****\source\repos\FQR Generator\FQR Generator\bin\Debug\"
Dim wbXL As Excel.Workbook
Dim shXL As Excel.Worksheet
' Dim raXL As Excel.Range
wbXL = appXL.Workbooks.Add
shXL = wbXL.ActiveSheet
wbXL.SaveAs("FQR Generator Data\Stations\" & station)
appXL.Quit()
End Sub