Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding OLE concept.

Former Member
0 Likes
1,032

Hi,

I am using OLE for the first time ,

Can any one just help me out in understanding,

Presntly I am working with excel,

I am unable to understand the follwoing things,

CREATE OBJECT EXCEL

SET PROPERTY OF EXCEL

CALL METHOD OF EXCEL

CALL METHOD OF WSHEET

SET PROPERTY OF CELL

Please let me know regarding this matter.

Thanks in Advance,

Irfan Hussain

Hi,

I am using OLE for the first time ,

Can any one just help me out in understanding,

Presntly I am working with excel,

I am unable to understand the follwoing things,

CREATE OBJECT EXCEL

SET PROPERTY OF EXCEL

CALL METHOD OF EXCEL

CALL METHOD OF WSHEET

SET PROPERTY OF CELL

Please let me know regarding this matter.

Thanks in Advance,

Irfan Hussain

6 REPLIES 6
Read only

Former Member
Read only

Former Member
0 Likes
914

IRFAN,

Sample Program: RSDEMO01

Thanks

Kam

Note: Allot points for all worthful postings

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
914

Hi,

Check this link.

An easy reference for ole automation.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c1d54348-0601-0010-3e98-bd2...

In Excel->Tool->Macro->Visual Basic Editor->F2(object Browser)->choose excel in first box and in second box select the class or method u want.

You can get a hyperlink of the method.This will describe the properties.

Kindly reward points by clikcing the star on the left of reply,if it helps.

Read only

Former Member
0 Likes
914

Hi IRFAN HUSSAIN

Visit this link:

-


http://help.sap.com/saphelp_erp2005/helpdata/en/59/ae3de5488f11d189490000e829fbbd/frameset.htm

-


It should clear all your Doubts regarding:

CREATE OBJECT

SET PROPERTY

GET PROPERTY

CALL METHOD

And look inside the code of Sample Program: RSDEMO01 for sample code.

Cheers,

Vijay Raheja

Message was edited by: Vijay Raheja