View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Vergel Adriano Vergel Adriano is offline
external usenet poster
 
Posts: 857
Default 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