Selected Answer
The question answered on this folrum must be on this forum. Your reference to a YourTube site isn't useful for that reason. However, below is simple code for importing a CSV file into Excel.
Sub ImportCSVFile()
Dim Ws As Worksheet
Dim FileName As String
Set Ws = ActiveWorkbook.Sheets("Sheet1") ' change to suit
FileName = Application.GetOpenFilename("Text Files (*.csv),*.csv", , _
"Please select source file")
With Ws.QueryTables.Add(Connection:="TEXT;" & FileName, _
Destination:=Ws.Range("A1")) ' change to suit
.TextFileParseType = xlDelimited
.TextFileCommaDelimiter = True
.Refresh
End With
End Sub
Actually, there are about 20 properties required and only 2 of them are set in this code. All the others will be default values taken from the system. Some of these defaults are, in fact, not system defaults but values last specified by the user in a similar import carried out manually. This is how the same code can work differently on different systems.
At this link they use an entirely different method. They simply open the file because, as you point out, Excel can do that without any extra help. But they also highlight that CSV is short for Comma Separated Values. Your file appears to use semicolons for separators and that problem is solved by the author. It may be useful to you.
If none of the above helps in your case please edit your question and include your code.