![]() |
Referencing specific cell
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... |
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... |
All times are GMT +1. The time now is 12:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com