OLE2 package
521402Dec 12 2011 — edited Dec 19 2011Hi 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!