Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default C++ Excel Automation

i ve set a C++ program to interface with an open instance of excel. If i use
the code to retrieve data from an open excel workbook:

e.g
say i write
Excel::RangePtr pRange = XLS-GetRange(_bstr_t("A1"),_bstr_t("A10")); //XLS
pointer to Excel sheet

is there a function that will return the number of rows or columns of that
range? or how to use operators like +,- with pRange-Item[] or anything
equivalent. Is there a better function for retrieving this data and
performing such operations?
i know you can use XLS-Cells for the whole sheet but is there anything
better?

do you know of any good books or resources that give explanations of the
functions that can be used with RangePtrs??

Thanks for any help or advice you can give
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
Excel Automation [email protected] Excel Programming 1 June 20th 08 05:11 PM
Supressing the ctrl-c and other keys during word automation in automation apondu Excel Programming 0 July 19th 07 10:10 PM
Excel Automation will Excel Programming 3 March 8th 06 07:47 PM
Ole automation with Excel 10 from Vb.net Richie Weldon \(MSFT\) Excel Programming 0 November 13th 03 06:08 PM
Excel Web Automation mccaka Excel Programming 1 October 9th 03 02:18 AM


All times are GMT +1. The time now is 04:10 AM.

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"