Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default 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...
  #2   Report Post  
Posted to microsoft.public.excel.programming
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...



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I add amounts referencing specific dates? Stinky Excel Discussion (Misc queries) 6 April 15th 10 02:03 PM
referencing specific data accross many sheets in a final sheet cha Chris Cornell Excel Discussion (Misc queries) 1 November 1st 08 02:44 AM
Referencing a specific number to more general values in a table. AJL Excel Worksheet Functions 0 September 19th 06 05:11 PM
Link from a specific Cell in Excel to a specific para. in Word CathyK Excel Worksheet Functions 0 August 10th 06 04:40 PM
Referencing cells text output if it meets specific conditions Chersie Excel Worksheet Functions 3 April 18th 05 04:34 PM


All times are GMT +1. The time now is 12:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"