I have a routine on one of my websites that grabs a CSV file and parses it, I then extract the info I need.
$handle = fopen($csvfilename, "r");
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
$num = count($data);
echo $data[1]." ".$num;
// so some more stuff
}
fclose($handle);
My main question is this: is there a similar command for the fgetcsv in VBA or a module I can import ?
Thanks !!
Steve
All I want is the chance to prove money won't make me happy.
$handle = fopen($csvfilename, "r");
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
$num = count($data);
echo $data[1]." ".$num;
// so some more stuff
}
fclose($handle);
My main question is this: is there a similar command for the fgetcsv in VBA or a module I can import ?
Thanks !!
Steve
All I want is the chance to prove money won't make me happy.