I am a programmer but recently new to both powershell and vba. I found this simple but effective command in powershell to read in a csv file and you can then immediately access "columns" by their heading in the csv file. in the example below there was a heading called "Location Description" and I could immediately access a column by that heading. Does VBA have something like for reading in a csv file and would that also be similar to reading in a worksheet if the macro was run from within the spreadsheet?
Snippet of Code
$InputData = import-csv $InputFile
foreach ($row in $InputData)
{
$locdesc = $row."Location Description"