Macro to open and close an Excel file
workbooks.open Range("A1").Value
...
activeworkbook.close
--
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
"Magnivy" wrote in message
...
I would like to create a macro that would open an Excel file based on file
path that is indicated in a cell, and then close it. For instance, open
the
file for which the file path is indicated in cell A1, and then close it.
Any advice you could provide on this would be greatly appreciated.
Magnivy
|