Error in Exporting HRMS people data to excel using WEB EDI.

Hi ,
I am using an existing integrator to export people data to excel using WEB ADI.
When the excel opens it first shows the it is trying to download data, but later shows an error message saying that an error has occurred in the script on this page
line 18
Char 5
Error Object doesn't support this property or method.
Can anyone please throw some light as to what can be the cause of the error.
Regards
Deepak

Hi experts,
When I click the "Upload" button on GL Journal WebADI, The following error message is displayed:
http://myservername:port/OA_HTML/BneApplicationService?bne:encoding=UTF-8
I think this error is similar as your previous discussion, and I tried the solution as you mentioned, but not worked. If there is any new solution for the errors of this kind?
Some Environment parameters are as following:
Product: EBS 12.1.1
Browser: IE 7.0 and Firefox 3.5.5
Hope for your advice.
Thanks in advance.

Similar Messages

  • Export datas to Excel (Using Web Utilities)

    Hi,
    This is the procedure to export the datas from Data Block to the excel sheet. It woks fine in the client-server arch (by replaceing CLIENT_OLE2 with OLE2). But i need to execute in Appication Server Arch. so I prefixed "CLIENT_" , but it is not working. Is there any suggestion to implement it.
    PROCEDURE pr_Forms_to_Excel(p_block_name IN VARCHAR2 DEFAULT NAME_IN('system.current_block')) IS
    -- Declare the OLE objects
    application CLIENT_OLE2.OBJ_TYPE;
    workbooks CLIENT_OLE2.OBJ_TYPE;
    workbook CLIENT_OLE2.OBJ_TYPE;
    worksheets CLIENT_OLE2.OBJ_TYPE;
    worksheet CLIENT_OLE2.OBJ_TYPE;
    cell CLIENT_OLE2.OBJ_TYPE;
    range CLIENT_OLE2.OBJ_TYPE;
    range_col CLIENT_OLE2.OBJ_TYPE;
    -- Declare handles to OLE argument lists
    args CLIENT_OLE2.LIST_TYPE;
    -- Declare form and block items
    form_name VARCHAR2(100);
    f_block VARCHAR2(100);
    l_block VARCHAR2(100);
    f_item VARCHAR2(100);
    l_item VARCHAR2(100);
    cur_block VARCHAR2(100) := NAME_IN('system.current_block');
    cur_item VARCHAR2(100) := NAME_IN('system.current_item');
    cur_record VARCHAR2(100) := NAME_IN('system.cursor_record');
    item_name VARCHAR2(100);
    baslik VARCHAR2(100);
    row_n NUMBER;
    col_n NUMBER;
    filename VARCHAR2(100);
    ExcelFontId CLIENT_OLE2.list_type;
    BEGIN
    -- Start Excel
    application:=CLIENT_OLE2.CREATE_OBJ('Excel.Application');
    CLIENT_OLE2.SET_PROPERTY(application, 'Visible', 'True');
    -- Return object handle to the Workbooks collection
    workbooks:=CLIENT_OLE2.GET_OBJ_PROPERTY(application, 'Workbooks');
    -- Add a new Workbook object to the Workbooks collection
    workbook:=CLIENT_OLE2.GET_OBJ_PROPERTY(workbooks,'Add');
    -- Return object handle to the Worksheets collection for the Workbook
    worksheets:=CLIENT_OLE2.GET_OBJ_PROPERTY(workbook, 'Worksheets');
    -- Get the first Worksheet in the Worksheets collection
    -- worksheet:=CLIENT_OLE2.GET_OBJ_PROPERTY(worksheets,'Add');
    args:=CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG(args, 1);
    worksheet:=CLIENT_OLE2.GET_OBJ_PROPERTY(worksheets,'Item',args);
    CLIENT_OLE2.DESTROY_ARGLIST(args);
    -- Return object handle to cell A1 on the new Worksheet
    go_block(p_block_name);
    baslik := get_block_property(p_block_name,FIRST_ITEM);
    f_item := p_block_name||'.'||get_block_property(p_block_name,FIRST_ITEM);
    l_item := p_block_name||'.'||get_block_property(p_block_name,LAST_ITEM);
    first_record;
    LOOP
    item_name := f_item;
    row_n := NAME_IN('SYSTEM.CURSOR_RECORD');
    col_n := 1;
    LOOP
    IF get_item_property(item_name,ITEM_TYPE)<>'BUTTON' AND
    get_item_property(item_name,VISIBLE)='TRUE'
    THEN
    -- Set first row with the item names
    IF row_n=1 THEN
         args := CLIENT_OLE2.create_arglist;
         CLIENT_OLE2.add_arg(args, 1);
         CLIENT_OLE2.add_arg(args, col_n);
         cell := CLIENT_OLE2.get_obj_property(worksheet, 'Cells', args);
         CLIENT_OLE2.destroy_arglist(args);
         --cell_value := CLIENT_OLE2.get_char_property(cell, 'Value');
         ExcelFontId := CLIENT_OLE2.get_obj_property(Cell, 'Font');
         CLIENT_OLE2.set_property(ExcelFontId, 'Bold', 'True');
    baslik:=NVL(get_item_property(item_name,PROMPT_TEXT),baslik);
    args:=CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG(args, row_n);
    CLIENT_OLE2.ADD_ARG(args, col_n);
    cell:=CLIENT_OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
    CLIENT_OLE2.DESTROY_ARGLIST(args);
    CLIENT_OLE2.SET_PROPERTY(cell, 'Value', baslik);
    CLIENT_OLE2.RELEASE_OBJ(cell);
    END IF;
    -- Set other rows with the item values
    args:=CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG(args, row_n+1);
    CLIENT_OLE2.ADD_ARG(args, col_n);
    cell:=CLIENT_OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
    CLIENT_OLE2.DESTROY_ARGLIST(args);
    IF get_item_property(item_name,DATATYPE)<>'NUMBER' THEN
    CLIENT_OLE2.SET_PROPERTY(cell, 'NumberFormat', '@');
    END IF;
    CLIENT_OLE2.SET_PROPERTY(cell, 'Value', name_in(item_name));
    CLIENT_OLE2.RELEASE_OBJ(cell);
    END IF;
    IF item_name = l_item THEN
    exit;
    END IF;
    baslik := get_item_property(item_name,NEXTITEM);
    item_name := p_block_name||'.'||get_item_property(item_name,NEXTITEM);
    col_n := col_n + 1;
    END LOOP;
    EXIT WHEN NAME_IN('system.last_record') = 'TRUE';
    NEXT_RECORD;
    END LOOP;
    -- Autofit columns
    range := CLIENT_OLE2.GET_OBJ_PROPERTY( worksheet,'UsedRange');
    range_col := CLIENT_OLE2.GET_OBJ_PROPERTY( range,'Columns');
    CLIENT_OLE2.INVOKE( range_col,'AutoFit' );
    CLIENT_OLE2.RELEASE_OBJ( range );
    CLIENT_OLE2.RELEASE_OBJ( range_col );
    -- Get filename and path
    args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( args, p_block_name );
    CLIENT_OLE2.ADD_ARG( args,'Excel Workbooks (*.xls, *.xls');
    filename := CLIENT_OLE2.INVOKE_CHAR( application,'GetSaveAsFilename',args );
    CLIENT_OLE2.DESTROY_ARGLIST( args );
    -- Save as worksheet
    IF NVL(filename,'0')<>'0' THEN
    args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( args,filename );
    CLIENT_OLE2.INVOKE( worksheet,'SaveAs',args );
    CLIENT_OLE2.DESTROY_ARGLIST( args );
    END IF;
    -- Close workbook
    --CLIENT_OLE2.INVOKE( workbook ,'Close');
    -- Release the OLE objects
    CLIENT_OLE2.RELEASE_OBJ(worksheet);
    CLIENT_OLE2.RELEASE_OBJ(worksheets);
    CLIENT_OLE2.RELEASE_OBJ(workbook);
    CLIENT_OLE2.RELEASE_OBJ(workbooks);
    --CLIENT_OLE2.INVOKE(application, 'Quit');
    CLIENT_OLE2.RELEASE_OBJ(application);
    -- Focus to the original location
    go_block(cur_block);
    go_record(cur_record);
    go_item(cur_block||'.'||cur_item);
    END;
    Thanks in advance.
    Rizly

    Hi Simon,
    It is not giving any error message, but not generaitng the output also. But if i removed all the prefixed CLIENT_ , then I will get the out put in the Application Server machience (Export the datas from the argument DataBlock to the Excel sheet) , but I need the same in the Client Machience, thats why I prefixed the CLIENT_, but i thing even though it wont for every methods, because i read like that in the Webutil Demo Documentation.
    Thank U, Thank U Very much
    Rizly

  • Importing data from Excel using SDK!

    Hi All,
    Can we do a Goods Receipt and Goods Issue via SDK.
    IF so any code available for the same!Secondly can we
    Import data from Excel using SDK!
    Thnx in advance

    Hi Vinayak
    4 your 2nd issue: you can easily use Excel.Application COM-object. In C# exporting from Excel can be:
    Excel.Application     oXL;
    Excel._Workbook     oWB;
    Excel._Worksheet     oSheet;
    string          strTemplatePath;
    strTemplatePath = Application.StartupPath + "WHRequestList.xlt";
    try
         oXL = new Excel.Application();
         oWB     = (Excel._Workbook)(oXL.Workbooks.Add(strTemplatePath));
         oSheet     = (Excel._Worksheet)oWB.ActiveSheet;
         SAPbouiCOM.Item     edDocNum;
         SAPbouiCOM.IEditText specEdDocNum;
         edDocNum = SBOApp.Forms.Item(FormUID).Items.Item("8");
         specEdDocNum = (SAPbouiCOM.IEditText)edDocNum.Specific;
         SAPbouiCOM.Item     edDocDate;
         SAPbouiCOM.IEditText specEdDocDate;
         edDocDate = SBOApp.Forms.Item(FormUID).Items.Item("10");
         specEdDocDate = (SAPbouiCOM.IEditText)edDocDate.Specific;
         oSheet.Cells[2, "F"] = "¹ " + specEdDocNum.String + " îò " + specEdDocDate.String;
         oXL.Visible = true;
         oXL.UserControl = true;
    BTW, don't forget to add Excel object in ProjectReferences
    For sure, importing  (reading) from Excel is the same
    HTH

  • Is there any way to export IT Resource data from OIM using the export tool?

    Hello,
    we are trying to migrate an OIM development environment to a preproduction environment and we need to migrate more than 400 IT Resources. We have exported some IT Resources and when we imported them in the preproduction environment their data was not migrated. Is there any way to export IT Resource data from OIM using the export tool? Or is there any other way to do this without doing it by hand?
    Thank you for your help
    Kind Regards

    Well , OIM doesnot provide any such facility to export ITResource data along with ITResource .
    Directly updating the DB could be an option ..
    Thanks

  • Problem with uploading data from excel using BDC for tcode f-02

    Hi All,
    I am uploading data from excel using BDC for tcode f-02. The problem here is, while recording, the values of some fields are recording twice. I dont know why it's happening so. But if I run my abap program, I have to give those fields twice in my excel sheet. Otherwise data does not upload. But it is not the feasible way. We must give those fields once in excel. Please tell me, how I can solve the issue.
    With regards,
    Rosaline.

    Hi,
      in BDC each and every action is recording. If your press enter in same screen that also recorded once aging may be this is your case repeating field values will appear. we can solve the problem for repeat fields like below.
    suppose in your excel having repeated field X1 X2 X3 the X2 contains repeated field X3 means delete the X3 field.
    Now In your itab having X1 and X2 fields. While in the LOOP the ITAB pass the X2 field to repeated the fields.
    LOOP at ITAB to WA.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_CURSOR'.
    bdcdata_wa-fval = 'RM08M-EBELN'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." 1st time pass the X2 fields
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." pass the same value to repeated field
    APPEND bdcdata_wa TO bdcdata_tab.
    Endloop.
    Hope you can understand.
    Regards,
    Dhina..

  • How to download data in excel from web report in sap ?

    how to download data in excel from web report made  in sap abap?
    through tcode smw0.

    for exemple using
    MS_EXCEL_OLE_STANDARD_DAT

  • Is it possible to read/write data from Salesforce using web service hub in Informatica?

    Anyone from Informatica can asnwer this question please

    Is it possible to read/write data from Salesforce using web service hub in Informatica? Not asking about PowerExchange for Salesforce or Informatica Cloud. Just using web service can we load data into Salesforce? Thanks ahead.

  • Export Grid View Data to Excel sheet

    I have a GridView and its retrieving all data from the SQL Server data base. and when i click a cmd button "Export to Excel" it just downloads an excel file. but i am getting an error  while opening the file, while other excel files are opening as usual.
    My code is as below.
    private void PrepareGridViewForExport(Control gv)
                LinkButton lb = new LinkButton();
                Literal l = new Literal();
                string name = String.Empty;
                for (int i = 0; i < gv.Controls.Count; i++)
                    if (gv.Controls[i].HasControls())
                        PrepareGridViewForExport(gv.Controls[i]);
     private void Export_GridView()
                string attachment = "attachment; filename=ProductInfo.xls";
                Response.ClearContent();
                Response.AddHeader("content-disposition", attachment);
                Response.ContentType = "application/ms-excel";
                StringWriter sw1 = new StringWriter();
                HtmlTextWriter htw1 = new HtmlTextWriter(sw1);
                grd_ProdInfo.RenderControl(htw1);
                Response.Write(sw1.ToString());
                Response.End();
    public override void VerifyRenderingInServerForm(Control control)
    protected void cmdExport_Click(object sender, EventArgs e)
                PrepareGridViewForExport(grd_ProdInfo);
                Export_GridView();

    I've been having problems myself opening up excel files when they are still attached to processes in Visual Studio.  ?We first need to determine if the excel file is good to determine if the problem is with the creating of the excel file or the reading
    of the excel file.  Your problem may just be that the ecxcel file is no getting closed properly. So first try stopping visual Studio.  Then check the following
    1) Check the task manager to make sure there is no excel.exe process running.  If there are any excel.exe running kill the process. 
    2) Try opening up the excel file and see if the excel file contains any data and check if the data is in the correct locations.
    3) Check the excel worksheet to make sure it is in a table format
           a) All the rows contain data in the primary key column (usually the first column)
           b) There are no blank rows of data before tthe last row of data
           c) There is a header row in row number 1 with text in some of the columns
           d) Check to see the number of worksheets in the workbook.
    jdweng

  • Export data to Excel + use of xsd

    Hi,
    I'd like to export data from oracle to excel using pl/sql. These files go to subcontractors who will have to make some kind of customization to that data. I want to prevent these subcontractors from writing trash to this excelfile (writing text to a numbercolumn). As far as I know, this can be done using xml schema (supported since excel 2003).
    Is it possible to generate an excelfile using pl/sql and also include an xml-schema according to the columntype defined inside the database?
    Oracle Version is 11GR1
    Thanks

    Thanks for your reply.
    As far as my understanding of xml and xsd is correct: XML is used to transfer data to an excel-sheet. This is the data from a table/query or something like that.
    The XML Schema defines the structure of this data. Lets say you have the following table:
    create table test(
    x number
    ,y varchar2(20)
    Exporting the content of this table might result in the following excel-sheet
    x | y
    |20 | test |
    |30 | test |
    Because this excelfile is sent to a subcontractor, I can't control the data he inserts into x or y. He might insert
    x | y
    |20 | test |
    |30 | test |
    |test | 40 |
    When trying to import this table, there would be errors. Now I'll call the subcontractor telling him that he's not allowed to insert text into x. To avoid this situation, I'd like to use XML Schema. If there is another way to prevent this situation from happening, pls tell me.

  • Export the Form Data to Excel File using FILE EXPORT

    One problem i am getting...
    I want to export printers page to some excel file using FILE > EXPORT option.
    I login into System Administrator Responsibility > printers > register...
    I want to export this printers data to flat file(EXCEL File) using FILE > EXPORT in the form...
    The movement I click FILE > EXPORT...a flash screen appears and disapperas...nothing will be exported...
    What Might be the problem...
    How can I solve this...
    My FND_LOBS_CTX index is fine..it is valid and

    - Check the security level of the "Trusted sites" zone, make sure it is set to "Low"
    - Make sure you do not have a yellow warning bar
    - Make sure you are not accessing the application through dev60cgi/f60cgi
    - Verify that you have sufficient space in the tablespace (Check init<SID>.ora for any errors)
    - Check the export on some other modules to determine whether the issue is across all Apps or with a specific module only

  • Help with exporting forms based data to Excel 2007

    I have a user who is attempting to export forms based data to Microsoft Excel 2007 and when he attempts this he receives a message stating that Windows does not recognise this file type (tsv). I am not too familiar with Office 2007 so I am unable to direct this users as to how to correct this issue.
    Is someone able to give me the navigation path to help me to assist this user? thanks

    Did you verify the file type from Windows Explorer?
    1) Right click on My Computer > Explore
    2) Go to Tools > Folder Options
    3) Click on File Types tab
    4) Check if TSV file is defined there or not. If it is not there, click on New and add the File Extension

  • Export Transient Attribute data to excel sheet (from Advance Table)

    Hi,
    I have an advanced table in which its columns mapped with both vo attributes(from database) and transient attributes. If i select 'Export Button' i need to export all data present in the advanced table to excel sheet.. But i am not able to export transient attribute data .. Can anyone help me to solve this problem...
    Thanks,
    Babu

    Babu
    You should be able to export any attribute from the VO, provided they are not hidden fields. Do the values appear on the screen? What is the field type on the advanced table of the attribute you are trying to export?
    --Ritu                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Using OBIEE Scheduler to export and save data in excel/pdf

    Hi
    Is it possible to use obiee scheduler and run particular reports and export the data into excel/pdf and save this file at given location on server.
    env: obiee 11g/linux OS
    Thanks for any ideas.

    Hi,
    Yes it is possible.
    As per my knowledge we don't have such option but we can do one way.
    Using IBOTS you can store specific report and specific time in specific location.
    Note : Using JS script.
    Are you going to implement this way send me your mails id will send you js script for doing this.
    Re: Auto SAVE to excel -- Please refer this thread.
    Create js file using the below script and add this js scrif in your ibot advanced tab.
    var FSO = new ActiveXObject("Scripting.FileSystemObject");
    var foldername = 'D:\IBOT'
    if (FSO.FolderExists(foldername))
    var fileName = foldername + "\\" +Parameter(1);
    var fooFile = FSO.CopyFile(Parameter(0), fileName, true);
    else
    FSO.CreateFolder(foldername);
    var fileName = foldername + "D:\IBOT" + Parameter(1);
    var fooFile = FSO.CopyFile(Parameter(0), fileName, true);
    Thanks,
    Satya

  • How to export sql table data to Excel/PDf using Storedprocedure?

    Hi ,
            I have one table in sqlserver2008R2 that named "Customer" so that table hold the 1 Lac rows. Now I want send this table data to Excel/pdf with Columns using Storedprocedure.
       I have tried this using xp_cmdshell so This is not working for me.
    finally i want to get data in Excel and pdf also.
    Please guide me

    You can actually run an Excel Macro to grab the data from the SQL Server DB.  Below are some samples.
    Sub ADOExcelSQLServer()
    ' Carl SQL Server Connection
    ' FOR THIS CODE TO WORK
    ' In VBE you need to go Tools References and check Microsoft Active X Data Objects 2.x library
    Dim Cn As ADODB.Connection
    Dim Server_Name As String
    Dim Database_Name As String
    Dim User_ID As String
    Dim Password As String
    Dim SQLStr As String
    Dim rs As ADODB.Recordset
    Set rs = New ADODB.Recordset
    Server_Name = "Excel-PC\SQLEXPRESS" ' Enter your server name here
    Database_Name = "Northwind" ' Enter your database name here
    User_ID = "" ' enter your user ID here
    Password = "" ' Enter your password here
    SQLStr = "SELECT * FROM dbo.Orders" ' Enter your SQL here
    Set Cn = New ADODB.Connection
    Cn.Open "Driver={SQL Server};Server=" & Server_Name & ";Database=" & Database_Name & _
    ";Uid=" & User_ID & ";Pwd=" & Password & ";"
    rs.Open SQLStr, Cn, adOpenStatic
    ' Dump to spreadsheet
    With Worksheets("sheet1").Range("a1:z500") ' Enter your sheet name and range here
    .ClearContents
    .CopyFromRecordset rs
    End With
    ' Tidy up
    rs.Close
    Set rs = Nothing
    Cn.Close
    Set Cn = Nothing
    End Sub
    Sub ADOExcelSQLServer()
    Dim Cn As ADODB.Connection
    Dim Server_Name As String
    Dim Database_Name As String
    Dim User_ID As String
    Dim Password As String
    Dim SQLStr As String
    Dim rs As ADODB.Recordset
    Set rs = New ADODB.Recordset
    Server_Name = "LAPTOP\SQL_EXPRESS" ' Enter your server name here
    Database_Name = "Northwind" ' Enter your database name here
    User_ID = "" ' enter your user ID here
    Password = "" ' Enter your password here
    SQLStr = "SELECT * FROM Orders" ' Enter your SQL here
    Set Cn = New ADODB.Connection
    Cn.Open "Driver={SQL Server};Server=" & Server_Name & ";Database=" & Database_Name & _
    ";Uid=" & User_ID & ";Pwd=" & Password & ";"
    rs.Open SQLStr, Cn, adOpenStatic
    With Worksheets("Sheet1").Range("A2:Z500")
    .ClearContents
    .CopyFromRecordset rs
    End With
    rs.Close
    Set rs = Nothing
    Cn.Close
    Set Cn = Nothing
    End Sub
    Sub TestMacro()
    ' Create a connection object.
    Dim cnPubs As ADODB.Connection
    Set cnPubs = New ADODB.Connection
    ' Provide the connection string.
    Dim strConn As String
    'Use the SQL Server OLE DB Provider.
    strConn = "PROVIDER=SQLOLEDB;"
    'Connect to the Pubs database on the local server.
    strConn = strConn & "DATA SOURCE=(local);INITIAL CATALOG=NORTHWIND.MDF;"
    'Use an integrated login.
    strConn = strConn & " INTEGRATED SECURITY=sspi;"
    'Now open the connection.
    cnPubs.Open strConn
    ' Create a recordset object.
    Dim rsPubs As ADODB.Recordset
    Set rsPubs = New ADODB.Recordset
    With rsPubs
    ' Assign the Connection object.
    .ActiveConnection = cnPubs
    ' Extract the required records.
    .Open "SELECT * FROM Categories"
    ' Copy the records into cell A1 on Sheet1.
    Sheet1.Range("A1").CopyFromRecordset rsPubs
    ' Tidy up
    .Close
    End With
    cnPubs.Close
    Set rsPubs = Nothing
    Set cnPubs = Nothing
    End Sub
    Finally, you can run a SProc in SQL Server, from Excel, if you want the SProc to do the export.
    Option Explicit
    Sub Working2()
    'USE [Northwind]
    'GO
    'DECLARE @return_value int
    'EXEC @return_value = [dbo].[TestNewProc]
    ' @ShipCountry = NULL
    'SELECT 'Return Value' = @return_value
    'GO
    Dim con As Connection
    Dim rst As Recordset
    Dim strConn As String
    Set con = New Connection
    strConn = "Provider=SQLOLEDB;"
    strConn = strConn & "Data Source=LAPTOP\SQL_EXPRESS;"
    strConn = strConn & "Initial Catalog=Northwind;"
    strConn = strConn & "Integrated Security=SSPI;"
    con.Open strConn
    'Put a country name in Cell E1
    Set rst = con.Execute("Exec dbo.TestNewProc '" & ActiveSheet.Range("E1").Text & "'")
    'The total count of records is returned to Cell A5
    ActiveSheet.Range("A5").CopyFromRecordset rst
    rst.Close
    con.Close
    End Sub
    Sub Working()
    'USE [Northwind]
    'GO
    'DECLARE @return_value int
    'EXEC @return_value = [dbo].[Ten Most Expensive Products]
    'SELECT 'Return Value' = @return_value
    'GO
    Dim con As Connection
    Dim rst As Recordset
    Set con = New Connection
    con.Open "Provider=SQLOLEDB;Data Source=LAPTOP\SQL_EXPRESS;Initial Catalog=Northwind;Integrated Security=SSPI;"
    Set rst = con.Execute("Exec dbo.[Ten Most Expensive Products]")
    'Results of SProc are returned to Cell A1
    ActiveSheet.Range("A1").CopyFromRecordset rst
    rst.Close
    con.Close
    End Sub
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Trying to export pdf file data into Excel.

    Dear Adobe Community,
    I have a file that is 122 pages long and I am trying to export the data into Excel.  When I try to copy the pdf info, it shows in Excel as a picture, not the specific data.  I have Adobe Acrobat Professional 7.0 and the pdf version is 1.5 (Acrobat 6.x).  The PDF producer is Adobe Acrobat 7.0 paper capture plug-in.  Are are any suggestions on how to trasfer the data to Excel?  Thanks in advance.
    Neal
    P.S. the file is attached so you can see the issues I am dealing with.  Any help would be greatly appreciated.

    Unfortunately, the file is still in the checking queue. Do I understand you correctly that the PDF is actual text, or is it a scan? If you scanned it and got just the graphics, you have to run OCR before you can continue. I would do this on a copy of the scan file so that you can always go back to that file as you try things.

Maybe you are looking for

  • How to set image background color ?

    Hi All, In my project i have image,and if image have black spot or any unwanted spot then i will select that area and say clear it then it will remove that spot and set color of that area similar to area around that spot. I have written code for gett

  • How to add a copy option or button in apex report

    I aint sure if this is meant to go in this disccussion. If an wrong please let me know the right place it should go. Thanks I need soime help implamenting a copy button/option in oracle. I have a interactive report and when you click on the unique id

  • Dir listing with umlauts / special characters

    I've got a directory tree, where several files have umlauts or french accented characters in their names. When I do 'ls' in such a directory, I can see the umlauts fine in Terminal, e.g.: Die rote Wüste - Michelangelo Antonioni.avi Nazarin - Luis Buñ

  • From production directly to the customer

    Hi, Some times when I produce the quantities I don´t want to make a putaway because the lorry is waiting. So it is like a cross-selling. My idea is to use a dummy storage location and send the goods to there but I don’t know if the use of doors is be

  • PLEASE HELP!! from snow leopard to mountain lion - install page just sitting there

    Hi, I am updating my macbook from Snow Leopard to Mountain Lion. I downloaded the software from the app store just fine  and checked to make sure my macbook is compatible (which it is). But now I am trying to install it on my HD and it wont do anythi