I have a MAIN.xlsm with a macro called "open_input_workbook" which opens a CSV file.
The problem is that when I open the file using that macro, the file doesn't respect the columns, I'll show you with some screenshots:
input.csv open doing Double-Click on it:
input.csv open with the macro:
Macro Code:
Sub Open_input_Workbook()
Workbooks.Open "C:\input.csv"
End Sub
Any help is welcome.
Thank you for your time


;the default is,on a csv..txtthen reopen it withopenworkbooks. You can try to useformat = 4but I think the formatting of the csv is already messed up.Workbooks.Open "C:\input.csv", Local:= True