View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Referencing specific cell

Dim oxlApp as Object
set oxlApp.CreateObject("Excel.Application")
.. . .
vVal = oxlApp.Workbooks("Myworkbook.xls").Worksheets(1).R ange(B1").Value

--
Regards,
Tom Ogilvy

"Sean" wrote in message
...
What is the code used to reference a specific cell from
another office application?

For example, I have a project plan in MSFT Project and I
want my code to read the value of cell B1 in an excel
worksheet and then import this value into MSFT project...

this is a very simple, single sheet, excel file...

any help would be greatly appreciated...