ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   opening a file in closing (https://www.excelbanter.com/excel-programming/388687-opening-file-closing.html)

Josh C

opening a file in closing
 
i would like to open a file with code in MS Excel 2003. i am sure it is just
a one line entry but i am having troubles finding the right code.
Thanks

Vergel Adriano

opening a file in closing
 
Josh,

take a look at the Open method of the Workbooks collection..

WorkBooks.Open("C:\sample.xls")


--
Hope that helps.

Vergel Adriano


"Josh C" wrote:

i would like to open a file with code in MS Excel 2003. i am sure it is just
a one line entry but i am having troubles finding the right code.
Thanks



All times are GMT +1. The time now is 05:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com