Opening CSV files (or Excel files) via a Macro
Posted by Tony Gill on November 21, 2001 6:54 PM
Trying to load 2 CSV formated files via a Macro.
Example of Macro below only loads the first file then stops??
Workbooks.Open Filename:="D:\FILES\EXCEL\DAD\RHPS\Filea.xls"
Workbooks.Open Filename:="D:\FILES\EXCEL\DAD\RHPS\Fileb.xls"
Windows("Macro.xls").Activate
ActiveCell.FormulaR1C1 = "Done"
Range("B5").Select
Example above is trying to load Excel sheets, but gives the same problem.
Hoping someone can help
Tony Gill