Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OLE2 package

521402Dec 12 2011 — edited Dec 19 2011
Hi Guys!

I am using OLE2 package to create an excel file in my Oracle Forms(in button-pressed trigger). Problem is the add sheet OLE2 command. How can I make it add to the last sheet instead of before the current file. In VB Macro, the Sheets.Add has Before and After parameter. I have set the After parameter using an argument list.But won't work.

I have also tried below but giving an error.

objSheet := OLE2.GET_OBJ_PROPERTY(objSheets, 'Add After:=Sheets(1)');

Any ideas?

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 16 2012
Added on Dec 12 2011
4 comments
494 views