Excel Loading Scenario - Which Component ?

Hi, i have a xlsx workbook with 20 worksheets, each worksheet has a number of ranges in it (a1 - d4, a6 - e20 and so on).
I would like to redev it with the most suitable excel component (the previous developer used Excel + / CozyRoc but i am not going to put this on a prod server so am curious as to the alternative).
A nice to have would be a enable a loop to utilise spreadsheet metadata which is loaded to a set of tables, and just have 1 DFT to process all 20 worksheets and constituent ranges in each w/sheet. 
Can anyone suggest a suitable component for this scenario ? I would like to avoid parsing the file using c# if at all possible.
Thanks in advance

20 worksheets is not to many, if CozyRoc is a no go I'd go with runing SQL against the canned Excel Source (via OLEDB) against each sheet. Just more time, but the automaton may take as long.
An example is in this thread: https://social.msdn.microsoft.com/forums/sqlserver/en-US/42d50689-7242-4a12-944b-207ce13350b6/using-select-statement-in-ssis-on-excel-source
Arthur
MyBlog
Twitter

Similar Messages

  • VB6 and Excel loading then unloading immediately

    First off I posted this here
    http://social.msdn.microsoft.com/Forums/office/en-US/4c07879b-e033-4e8f-8266-95f9f606923a/vb6-and-excel-loading-then-unloading-immediately?forum=exceldev However I think this is the right forum for this.
    We have an old VB6 application that uses data from and to Excel 97-2003 XLS and
    Access MDB. This application is slated to be updated to VS2012 and VB.NET. In
    the mean time I have a glitch that I cannot seem to find the issue. When we
    load the VB6 app it opens Excel 2010 in the background for getting and setting
    data. We are set to roll out Office 2010 on everyone’s system and I am still
    unable to find why it works fine on two systems and not on others. With Office
    2007 everything seems to work just fine.
    What happens is when I look at the processes in Task Manager on my Windows 7
    Enterprise edition with Office Professional Plus 2010 system while loading
    the VB6 app I see?
    EXCEL.EXE *32 | "My user name" | 00 CPU | 10,132k | Microsoft Excel
    This is normal and stays in process the entire time I run it on my system. I also have
    this working on another end users system. However the issue and the fix I used
    on our two systems does not seem to work on other systems. I launch the VB6 app
    and it comes up.
    EXCEL.EXE *32 | "My user name" | 00 CPU | 10,132k | Microsoft Excel
    This loads in the processes and then immediately unloads without any errors. Then when I
    execute something that needs to use Excel I get.
    Run-Time error ‘91’:
    Object variable or With block variable not set.
    This only happens if Excel unloads immediately otherwise the program works great. There
    are no events in any of the event logs and our other IT guy said it is loading
    and unloading normally with out crashing.
    I have applied this to the systems http://support.microsoft.com/kb/926430/en-us . In
    all of my searching this looked like the best answer. However only two systems
    are working with Office Professional Plus 2010.
    Here are the references and components.
    References:
    Visual Basic For Applications
    Visual Basic runtime objects and procedures
    Visual Basic objects and procedures
    OLE Automation
    Microsoft DAO 3.6 Object Library
    Microsoft Excel 5.0 Object Library
    Components:
    Controls
    Desaware Animated Button Control
    Microsoft Common Dialog Control 6.0 (SP6)
    Microsoft Data Bound Grid Control 5.0 (SP6)
    Designers
    Dat Environment
    Data Report
    DHTML Page
    WebClass
    Code:
    Public xlApp As Excel.Application
    Public WBSetup As Excel.Workbook
    Public objWbCALC As Excel.Workbook
    Public objShtLEVELS As Excel.Worksheet
    Sub Main()
    ' There is more code here that is not specific to Excel issue
    Set xlApp = Excel.Application
    ' Get the workbook.
    Set objWbCALC = xlApp.Workbooks.Open("c:\temp\Calc.xls")
    Set WBSetup = xlApp.Workbooks.Open("c:\temp\Setup.xls")
    ' Get worksheet
    Set objShtLEVELS = objWbCALC.Worksheets("Levels")
    ' There is more code here that is not specific to Excel issue
    End Sub
    This is working on one system that had Office 2007 and was upgraded to Office 2010. Working on my system with Office 2010. The EXE file is ran from the server you can install it or add the OCX files to local system and register them with regsvr32. No
    new components have been added or changed to the actual VB6 application. It seems to work on two systems and not on other systems.
    However our test system have Office 2010 loaded on it and never had office 2007 on it. Maybe there is a residual left over file on it.
    Any ideas?
    www.ipdg3.com

    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I would like to know whether you can get the same issue when you create/load a Visual Basic application rather than VB6 in VS2012. If the issue only occurs when you load VB6 app, as Andrew said, there are other better forums for
    VB6 app provided in this thread:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b/where-to-post-your-vb-6-questions?forum=vbgeneral
    For example:
    VB Forums
    VB City
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • LOAD UNIT OF COMPONENT IS VERY LARGE (GENERATION LIMIT)

    We are experiencing this meesage when compiling an ABAP WEB DYNPRO Application: "LOAD UNIT OF COMPONENT IS VERY LARGE (GENERATION LIMIT)"
    When Checking the Generation Limits In the Context menu, I have determined our size of Generated Load in bytes is to big.
    The documentation of recommendations is to restructure the program. I am not clear what this means and how this would reduce the Generation Load in bytes. Any ideas would be appreciated.

    > How should we reorganize the application and at the same time ensure smooth and user-friendly handling?
    We only want to use one Explorer window.
    Using multiple components doesn't mean that the user will notice any difference.  Component usages can be embedded within one another.  Using the ALV for instance is a perfect example of a component usage.
    >- Even the SAP reference application "LORD_MAINTAIN_COMP" (37 views) is way too big, according to the recommendation. Is there a better example from SAP?
    I wouldn't consider LORD_MAINTAIN_COMP a reference applicatoin.  It was one of the veryfirst WDA's shipped by SAP before we learned some of these lessons ourselves.  Have a look at the guidelines for Floorplan Manager if you are on 7.01. The FPM provides a very good (and well used by SAP) framework for building large scale WDA applications. 
    >- How could a complex transaction be built and at the same time stay in the green limit area (< 500k
    As described the usage of multiple components avoids the generation limit and is recommended for large scale applications.
    >- What at all is the problem in loading 2 Megabytes of data into memory? Could you please describe the technical background in more detail?
    It has nothing to do with 2Mb into memory.  It has to do with the generation load size in the VM for the generated class that represents your WDA Component.  The ABAP compiler and VM have limits (like all VMs and compilers) on total load size and the maximum size for operations and leaps. Generated code can be extremely verbose.  Under normal conditions, these load limits are almost never reached in human created classes. 
    In 7.02 we backported the 7.20 ABAP complier - which in additon tpbe rewritten to support multipass compelation, also increases some of the load limits.  However the general recommandation about componentization still stands.  Componentization of you WDA application improves maintainabilityand reusability over time.  My personal rule is that if you are getting between 10-12 views in your Component, it is time to think about breaking out into multiple components.
    >- Is there a maximum load size, which would lead to an error (reject of generation)?
    Yes there is.  However the workbench throws warnings well in advance.  At some point it won't even let you add more views to a component. However if you continue to add content to the existing views, you can reach a point where generation fails.

  • Error when loading the callback component

    Hi friends
      Am getting this error.  Error when loading the callback component. Am working in Travel expense workflow which is 2 level based on condition. If its EG > 8 its one level and EG < 8 its 2 level. When the approver does the approval am changing the status from 3 to 4 at that time the pernr is getting locked. Next step itself mail step. But the workflow is throwing the error and mail its hanging in the mail step. I have try to restart the workflow but its not restarting.  Error when loading the callback component this error is showing in the lock pernr. Am not locking the pernr system locks the pernr by itslef and not unlocking the pernr. How to solve this issue.
    Regards
    vijay

    Hello,
    Check if OSS Note 854495 is applicable.
    regards
    Rick Bakker
    Hanabi Technology

  • ORA-20001: Excel load run ddl error:

    When i am trying to create new table from CSV file than it gave me this error message
    ORA-20001: Excel load run ddl error: drop table "FILEONE1PTF1" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "FILEONE1PTF1" ( "CLIENTID" NUMBER, "APP_PROFIT_IND_IRS" VARCHAR2(1), "PROVIDER_OPT_IRS" VARCHAR2(30), "EFILE_FORM_IRS" NUMBER, "STATE_IND_IRS" VARCHAR2(1), "PARTNER_QTY_IRS" NUMBER, "CUSTOMER_TYPE_IRS" VARCHAR2(1), "COMPANY_NAME" VARCHAR2(255), "LEGAL_NAME_IRS" VARCHAR2(30), "YTD_TRNSMT_RET_IRS" NUMBER, "YTD_ACT_R
    Any one has any idea? Why it is doing this?

    1)Select 'Import SpreadSheet Data' Option.
    2)Select Import To 'New Table. Import from 'Upload file (comma separated or tab delimited).
    3)Upload CSV file which is around 30MB.
    4) Give Table information table name 'Hetal05' and all data type are Varchar2.
    5)Select Primary Key option. Primary Key From 'Create New Column'. Primary Key Population 'Generated from a New Sequency'.
    6) Click on Import Data.
    Now i got this message
    ORA-20001: create_table error: ORA-20001: Excel load run ddl error: create table "HETAL05" ( "ID" NUMBER, "APP_PROFIT_IND_IRS" VARCHAR2(30), "PROVIDER_OPT_IRS" VARCHAR2(30), "EFILE_FORM_IRS" VARCHAR2(30), "STATE_IND_IRS" VARCHAR2(30), "PARTNER_QTY_IRS" VARCHAR2(30), "CUSTOMER_TYPE_IRS" VARCHAR2(30), "CUST_ID" VARCHAR2(30), "NAME1" VARCHAR2(255), "LEGAL_NAME_IRS1" VARCHAR2(255), "LEGAL_NAME_IRS" VARCHAR2(30), "YTD_ACT_RET_IRS" VARCHAR2(30), "YTD_REJ_RET_IRS"
    I am using HTMLDB 1.5

  • Unable to load Query Builder component

    Hello,
    When I try to refresh a report in Crystal Reports 10, it displays this error message:
    "Failed to load database information."
    "Details: Unable to load Query Builder component."
    Then, when I try to register querybuilder.dll, RegSvr32 gives this error:
    "querybuilder.dll was loaded, but the DllRegisterServer entry point was not found."
    Any ideas?
    Thank you in advance for your help.

    Graham,
    Thank you for your reply.
    This is a new install.
    As my PC's administrator, I tried as you suggested.  However, I am still getting this error message when I try to run an existing report:
    "Failed to load database information."
    "Details: Unable to load Query Builder component."
    Guy

  • Need help - How to load data which contains \r\n

    Hi All,
    We have a requirement wherein we need to load the data from a .dat file, with fields separated by | symbol and the line separator specified as '\r\n'
    INFILE '/scratch/xyz/abcd.dat' "STR '\r\n'"
    FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"'
    Can you please help us load data which contains multiple lines in a single field to a database table field , keeping the line separator in ctl file as '\r\n' itself.
    When we try bringing the '\r\n' within a text field enclosed in "" , the '\r\n' , sqlldr considers it as the end of that record and not as a data which needs to go into a column.
    One option we have is to have the extraction process create the data in such a way that the fields with multiple lines , be brought in the .dat file enclosed in "" as
    "Test
    "|8989|abcd
    where the new line in the first field is just '\n' .
    Is there any other way in which the requirement can be addressed.
    Version: SQL*Loader: Release 11.1.0.7.0
    Thanks,
    Rohin

    In addition, you would need to know the character set encoding of the csv files (e.g. the code page used).
    Basically you need to have the facts about both client (csv file) and database character set.
    As suggested, use the available documentation - it's there to help you!
    http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch2charset.htm

  • Determing which component from a custom TreeCellRenderer was clicked on

    hi,
    i've been experimenting with finding which component has been clicked on in a JTree which has a custom tree cell renderer. I've got a piece of code that appears to work, but am unsure if this is the proper way to go about doing this, and whether it might fail under some circumstances.
    any help appreciated,
    asjf
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    public class JTreeTest1 {
       public static void main(String[] arg) throws Exception {
          final JTree tree = new JTree();
          final TreeCellRenderer renderer = new MyRenderer();
          tree.setCellRenderer(renderer);
          tree.addMouseListener(new MouseAdapter() {
             public void mouseClicked(MouseEvent e) {
                int x = e.getX(), y = e.getY();
                int row = tree.getRowForLocation(x,y);
                TreePath path = tree.getPathForLocation(x,y);
                if(path!=null) {
                   Object o = path.getLastPathComponent();
                   Rectangle r = tree.getPathBounds(path);
                   // how to detect what component has been clicked on?
                   // simplification: pretend all boolean state has no effect on renderer (which is true for the renderer below)
                   Component renderedComponent = renderer.getTreeCellRendererComponent(tree, o, false, false, false, row, false);
                   renderedComponent.setBounds(r);
                   int _x = (int) ((double)e.getX() - r.getX());
                   int _y = (int) ((double)e.getY() - r.getY());
                   Component clickedUpon = SwingUtilities.getDeepestComponentAt(renderedComponent, _x, _y);
                   if(clickedUpon instanceof JLabel) {
                      JLabel jl = (JLabel) clickedUpon;
                      System.out.println(jl.getText());
          JFrame frame = new JFrame("JTreeTest1");
          frame.getContentPane().add(tree);
          frame.pack();
          frame.setVisible(true);
    class MyRenderer extends JPanel implements TreeCellRenderer {
       JLabel custom;
       public MyRenderer() {
          super(); // flow layout
          add(new JLabel("Hello"));
          add(custom = new JLabel());
          custom.setOpaque(true);
          custom.setBackground(UIManager.getColor("Tree.background"));
          custom.setForeground(UIManager.getColor("Tree.foreground"));
          add(new JLabel("World"));
       public Component getTreeCellRendererComponent(JTree tree, Object value, boolean isSelected, boolean expanded,
                                                     boolean leaf, int row, boolean hasFocus)
          custom.setText("("+value.toString()+")");
          return this;
    }

    My only advice would be to remember that rendered components are not actually added to the tree, so they are not a child of the tree... they actually cannot be clicked on. The rendered components are quickly used just to paint and specific image and then discarded (which is why you don't typically want to create new ones each time). When you click on the tree, there is no "rendered component" there, just an image that was painted.
    Hope this helps
    Josh Castagno
    http://www.jdc-software.com

  • Which component do I need ?

    Which component do I need ? I want to connect my iPhone/iPad/iMac over wifi to a Bose dock system. Do I need a airport extreme or apple tv

    Airport Express or Extreme if you plug it into the speaker port on the Airport.

  • Which component do I need to paste images, pictures from the clipboard.

    Hey all,
    I've made a java-application and with a click on a button, I jump to a drawprogramme.
    When I've finished my picture, copied i to the clipboard(ctrl c), I want to show it in my application.
    How can I do this and in which component must I paste it?
    Thanks.

    This is the code I use:
    Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
    Transferable transferable = clipboard.getContents(this);
    if (transferable.isDataFlavorSupported(DataFlavor.imageFlavor)) {
    try {
    //pp is my panel to paste in
    pp.image = (Image)transferable.getTransferDataDataFlavor.imageFlavor);
    pp.repaint();
    catch (Exception ex) {
    System.out.println(ex);
    Sometimes it works, but mostly I receive a black box.

  • How to configure a scenario which posts same file to different directories

    How to configure a scenario which posts same file to different directories of a receiving system?
    Consider an Idoc to file scenario where I have to post same file to two different directories but logical receiver system has to be same.

    Hi,
    You can try out like this: Using multiple receiver interfaces you can send it to multiple directories with the help of enhanced interface determination/conditions and with the help of multiple receiver communication channels.
    Another option is to copy the file from one target directory into another directory  with the help of Unix script by executing the same from the OS command level.
    One more option is to create a Java Server Proxy and inside the proxy, you can write java code to FTP into different locations.
    Hope this helps,
    Regards,
    Moorthy

  • Firefox sync fails at loading the crypto component on win7

    Firefox Sync cannot load the crypto component.
    The log file contains the following message:
    2010-10-13 04:01:30 Service.Main DEBUG Crypto check failed: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: file:///C:/Users/Adrian/AppData/Roaming/Mozilla/Firefox/Profiles/Adrian/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/util.js :: anonymous :: line 365" data: no]

    hello vo_z, the log shows that the issue is occurring particularly during syncing your history - can you try to exempt it from being synced in the sync-preferences and see if the error bar is still showing up...

  • Ideas to display which component drives the other components in the canvas

    I have 4 components in my canvas and I would like to learn some ideas from gurus on what are the best ways to display which component drives (drills down)  the other components in the dashboard.  Any info would be appreciated.

    Hi,
    There is no such rule on which component should drive other in Xcelsius. It all depends upon the data that you are using. Always a component with summarized data should drive a component with granular data. For eg: If you are showing Total sales in a country using Column chart and want to drilldown to the percentage of sales in each region of a particular country , you can use pie chart to show it. Here Column chart drives Pie chart and u can show this in other way also.
    Hope it helps!
    Thanks,
    Arun US

  • Hello , ive reset my iPhone 5 and the option i selected was the one where all you content gets removed as i wanted , but now my screen has bona black and all that appears is the white circular loading sign which keeps spining. it won't stop ? help?!

    hello , ive reset my iPhone 5 and the option i selected was the one where all you content gets removed as i wanted , but now my screen has gone black and all that appears is the white circular loading sign which keeps spining. it won't stop ? help?! im not able to access my iphone becasue of this and i dont know what to do

    I just tried deleteing every smart mailbox and re-constituting a few. This went OK until I made one that had to reference a Gmail IMAP 'folder' and as soon I did that ... BAM! ... the infinite spinner appears.

  • Excel load issue

    Hi All
    I uploaded comma deliminated file through excel load wizard... after i successfully loaded , some rows are shown under "updated rows" category but actually thats the 1st time i uploaded.
    All what i wanted is to insert all rows to the table.
    Rows that are shown as "updated rows" are missing in table.
    Could any one pls help me on this .
    (Apex 4.1, Oracle 11g enterprise edition, pl/sql gateway configuration)
    Thanks

    Thanks Visakh. But it need a lot of change of SSIS package. Since Data conversion is available in Dataflow Task , and SCRIPT Task was used to read the data from EXCEL.
    Only other way is to change it in excel source as far as i know
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for

  • Command not found error in Linux

    Hi all, While login into Linux server using terminal i am getting following error. -bash: /usr/bin/id: No such file or directory -bash: [: =: unary operator expected While execute these commands getting following errors # clear -bash: clear: command

  • How to fix this error? The startup disk cannot be partitioned or restored to a single partition.

    Hey guys,      I am trying to install windows 7 ultimate 64 bit via bootcamp assistant. I open bootcamp assistant from utilities and i get the second window and try to click continue and i get a pop up, saying "The startup disk must be formatted as a

  • What would be best for me?

    So I'm heading off to college next year to become a teacher, and I'm trying to figure out what would be the best for me: A Macbook or a Macbook Air? Obviously, it's going to be used for school work mostly. I want it to be a very fast computer, but st

  • Total number of records in a file

    hello experts, I am getting a file to upload the data.... This file is containing one header record one trailor record and remaining data records... how to read all the data into one internal table along with header and tralor record. Because i have

  • Can someone explain what is the benefit of the Find My iPhone feature?

    I've upgraded my iPhone 4 to the next OS and it comes with the Find My iPhone feature. It took me a while to set it up, but it's OK, especially when it's free for those lucky iPhone 4 users. But now the question I have, what is the benefit of this fe