Detect tables in a spreadsheet?

Hi all,
I'm looking for way to detect a table in the spreadsheet. I know there's a way to get it through the SDK, but it only works for those tables which were inserted and defined as a table (TableDefinitionParts? or getTables() in POI). However, it doesnt
work for those table which were constructed manually, by entering column names, headers, changing styles, entering data etc
any ideas how to achieve this? any algorithms/sample code/SDK you can lead me to? 
thanks
Lior

Hi Lior,
>> any ideas how to achieve this? any algorithms/sample code/SDK you can lead me to?
As far as I know, when you inserted and defined as a table, it was inserted as a table object, it was inserted into the TableDefinitionParts, and at this time,  you could use the TableDefinitionParts to get the table object. But when you constructed
manually, it was inserted into SheetData, you could not get it by TableDefinitionParts, because it was not a table object. I'm afraid there is no way to get the matrix directly which you constructed manually.
For a workaround, I will recommend you select the table which you constructed manually, click the “Format as Table” in the Styles, in the alert view, check the “My table has headers” and click “OK”. Then you could get it from the TableDefinitionParts.
Sorry for the inconvenient.
Best Regards,
Edward
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.

Similar Messages

  • Create a table from a spreadsheet

    Hi All,
    I know you can load data to a table from a spreadsheet using sqlldr, sql developer, toad, etc.. My only knowledge is loading a table from the spreadsheet, but first the table must exist.
    Is there any utility that enable you to create and loada table from a spreadsheet? i.e. without having to create the empty table first.
    Regards,
    kp

    I found my script. This should work on a csv format file from 1-15 columns. It creates an external table called csv data. You can then query against it and run reports or load into other tables.
    CREATE OR REPLACE DIRECTORY &1 as '<directory_path>';
    grant read on directory &1 to public;
    alter session set current_schema=&1;
    --drop table csv_data;
    CREATE TABLE csv_data
    col1 VARCHAR2(250),
    col2 VARCHAR2(250),
    col3 VARCHAR2(250),
    col4 VARCHAR2(250),
    col5 VARCHAR2(250),
    col6 VARCHAR2(250),
    col7 VARCHAR2(250),
    col8 VARCHAR2(250),
    col9 VARCHAR2(250),
    col10 VARCHAR2(250),
    col11 VARCHAR2(250),
    col12 VARCHAR2(250),
    col13 VARCHAR2(250),
    col14 VARCHAR2(250),
    col15 VARCHAR2(250)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY &1
    ACCESS PARAMETERS
    (RECORDS DELIMITED BY newline
    NOBADFILE
    NODISCARDFILE
    NOLOGFILE
    SKIP 0
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    RTRIM
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL FIELDS
    col1 CHAR, col2 char,col3 char,col4 char,col5 char,col6 char,col7 char,col8 char,col9 char,
    col10 char,col11 char,col12 char,col13 char,col14 char,col15 char
    LOCATION (&1:'csv_data')
    REJECT LIMIT Unlimited
    NOPARALLEL
    NOMONITORING
    grant select on &1 .csv_data to public
    /

  • TS1702 when I export my spreadsheets from numbers to excel, it separates every table on the spreadsheet into separate spreadsheets?  The export feature to excel is useless to me because of this.

    Does anyone know why my spreadsheet from numbers that I created on my iPad using numbers, when I export the file to an excel format it separates all the tables in the spreadsheet into individual spreadsheets.  Instead of keeping the multiple tables on the single spreadsheet that I made.

    Pop up menus won't export to Excel, just as Excel's data validation (their way of doing drop-down menus) won't import into Numbers.  I don't know any way around this other than to avoid pop up menus.  But if you are willing to do a little cleaning up after the export, you can recreate the pop-ups as data validation.  In your spreadsheet, include a table that has your list of pop up values. In Excel, use that list to create data validation.
    Excel doesn't have checkboxes.  Often an "X" is used as a "checkmark" in Excel. You can design your Numbers spreadsheet to work the same way.  You'll have to fix any formulas that use the checkbox status; the formulas now need to look for "X" or blank instead of True/False.

  • How can I make all the Tables in my spreadsheet to work as one?

    I made a spreadsheet for work in Numbers '09 but do to the computers that we have at work, I have to have it exported to Windows Excel, but when I try to export the spreadsheet since I used more than 1 table to create this spreadsheet, each table is converted to an Excel worksheet, and all other objects are placed on separate worksheets since there's more than one table. and I want to know is there anything I can do, to export everything in one spreadsheet, for all the tables to work as one spreadsheet. PLEASE HELP!!

    You may be able to easily consolidate all your tables into one big table to make it equivalent to an Excel worksheet. You can copy/paste from one table to another and you can drag columns or rows from one table and insert them into another. Note that formulas that use column letters or row numbers instead of specific ranges (i.e., B instead of B2:B10) will now refer to the entire column/row in the destination table.
    Without doing this, all the tables, when exported to Excel into separate worksheets, should still work together just like they did in Numbers. Are you saying that they do not?
    Not much you can do about objects.

  • Writing data from a table into a spreadsheet file

    I've managed to figure out putting a table on the screen for user in put (I think  I made it more difficult for myself than it actually was) and I can have LabVIEW convert the data into a spreadsheet string and display that for me.  Now I'd like to send the data entered into the table out as a tab-delimited text file.  What's holding me up at the moment is that not all the data in the table is numeric.  I've got four columns, the first of which will hold an 8- or 9-digit serial number, presently starting with 0.  Columns 2-4 will be numeric (integer) information.  What's the proper way to get my table data into this tab-delimited text file?
    Thank you for your help.
    -Dan

    Hi,
    The attached example shows how table content is convert to spreadsheet string for storing, as well as converting read spreadsheet string to table data for displaying.
    Hope this is useful
    Regards,
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    IFK_TABLE_Saving & Retrieving Table Content.vi ‏69 KB

  • Linking Keynote Table to Number Spreadsheet?

    I'm wondering if it's possible to link the contents of a Keynote table to a numbers spreadsheet -- so that when I change the contents of the spreadsheet in Numbers, it automatically updates the table in Keynote.

    I do not believe this is possible. Please "Provide Numbers Feedback" from Numbers' (and Keynote for that matter) to include this option for Keynote and Pages.
    Regards,

  • Can I link a pages table to numbers spreadsheet ?

    I would like a table in Pages to display current data from a numbers spreadsheet.
    Is this possible in Pages and Numbers ?
    I do NOT mean copy and paste etc. which does not accomplish what I need.
    Any information gratefully received
    This has been possible in several applications for a looooong looooong time.
    If I remember rightly Wingz could do this sort of linking 20 years ago.  i.e link data in one document to data in another.
    Regards a

    Sorry for that oversight.  I am currently using iWork 08 and skipped 09 because I have gone from Snow Leopard to Mavericks. 
    A transition I am not altogether happy with .  Not at all impressed by Mavericks so far.
    Apple Help promised me a lot would be fixed or restored in Yosemite..... not holding breath.
    I am thinking Mavericks is a code for back to the days of the old west since so much seems to have been abandoned...

  • EOF detection in "Read From Spreadsheet File"

    Hi folks, I need help in detecting EOF in a "Read From Spreadsheet File". I' d like to stop a while loop by wiring the EOF? indicator to the stop condition, but this doesn't work. For design resons I can't substitute the while loop with a for loop and I DO need the while loop. I read something about creating custom EOF detection but I'm wondering why the builtin function in the vi doesn' t work and if there isn't some simple solution. Many thanks, hazibuli  

    I'm guessing that you want to process one line at a time from the spreadsheet.  Use Read From Spreadsheet File to read in the entire spreadsheet as Dennis says.  Then wire the 2D output to a For Loop with indexing enabled.  Each iteration of the For Loop will allow you to process one line at a time.  When the last line is processed, the For Loop will exit automatically.  Here is an example to get string length of each element in a spreadsheet. Message Edited by tbob on 03-15-2010 09:46 AM

  • Peak detection (threshold detector) from spreadsheets.

    Hello!
    I am working on VI that reads two signals, detects peaks that are above a specific treshold and then estimates time difference between these peaks in samples and in seconds.
    Recently I have obtained two waveforms using an oscilloscope in a laboratory. Then I saved these two graphs in a spreadsheet in Excel format (first number is time, second is amplitude). Time difference between them is really small, just a few nanoseconds according to the oscilloscope. I think treshold should be 0.3.
    My question is how to make Threshold Detector.vi read values from two excel files? Or maybe I need to use another instrument for this purpose. I am quite confused.
    I attached all materials I have.
    Any help is highly appreciated!
    Thank you.
    Attachments:
    Inception 2.vi ‏55 KB
    position S1-S2a.jpg ‏3004 KB

    I tried Read From Spreadsheet File.vi, but have not got any positive result. Probably it reads my spreadsheets, but peak detection does not work properly. When I set up any threshold in Threshold Detector.vi that is more than zero (for example, 0.01), final results turn to zero. The same occurs when indexes in Index Array  are not zeroes. 
    I attached my vi saved for LV2009. Please, have a look.
    Thanks.
    Attachments:
    Inception 2.vi ‏49 KB
    Peak detection.jpg ‏108 KB

  • I need to make a spreadsheet based on info from specific table columns and headlines above those tab

    Hi all,
    A client of mine is requesting that I create a spreadsheet from a huge catalog that I am doing for him (this will also be done for all similar huge catalogs). The spreadsheet needs to pull information from some of the table columns, as well as the headline for each table. (This spreadsheet will then go out to some other people who will be putting this information into an online database/website for the client.) Let me be more specific and show you an example below.
    Information from InDesign Catalog:
    Tea Set
    Part #
    MFG #
    Description
    123-456
    654321
    Tea Cup
    789-010
    010987
    Saucer
    Here is how the Excel Spreadsheet needs to look:
    Part #
    MFG #
    Product Name
    Description
    Page #
    123-456
    654321
    Tea Set
    Tea Cup
    2
    789-010
    010987
    Tea Set
    Saucer
    2
    You have no idea how I have been pulling my hair out over this. Doing this manually will be a nightmare each time. My first thought was that I could assign specific cell styles to the columns (cells) and then create a TOC and then finangle with that - well, that didn't quite work, especially because of the headline I needed to pull into the spreadsheet as well. Is there ANY way I can get this information onto a spreadsheet? Knowing how wonderful InDesign is and all the tremendous capability it has, I am sure there IS a way and I just dont know how. Please PLEASE can someone point me in the right direction?
    Thank you very much in advance for your assistance:) Any help would be greatly appreciated.
    Christine

    Sorry for the delay.
    I am sure that this can somehow be done by making use of the styles. For example, when creating the TOC InDesign does a GREAT job of pulling in the styles (that are of course associated with the headlines and whatever needs to be included in the TOC) and associating them with the correct page numbers. I had experimented a little with creating specific paragraph styles and working these into the table and cell styles...then applying the Table Style to the table. I was halfway getting to where I wanted to be by creating a TOC that pulled in all of these styles and applied the corresponding page numbers (that I could somehow work into converting back into a table to then flow onto an Excel spreadsheet) but the wrench in the works was of course the Product Name. That said, I am VERY confident that this CAN be done somehow, by making use of the styles, using the same (or similar) methodology that is used to create the TOC. If only I were a pro at scripting...
    Well, it's great that you're certain and confident, but I think your confidence is misplaced.
    I had sort of hoped that running headers could be convinced to support this, but that doesn't seem to be true.
    I think you need to postprocess the data somehow. If I was doing this for real I'd probably export the document to IDML and have a seperate program read the IDML XML, find the product names and page numbers, and insert them in tables. Though...that might mess up the page numbers. And it'd be a lot of work.
    An much-faster-to-rapid-prototype solution is to have an indesign script go through the document and add in page numbers and the product names. Here's a rough prototype:
    var d,s,story,table,product,page,c2,c3,c5,i,j.k;
    d=app.activeDocument;
    s=d.stories;
    for (i=0; i<s.length; i++) {
        story = s[i];
        for (j=0; j<story.tables.length; j++) {
            table = story.tables[j];
            product = story.chara
    cters[table.storyOffset.index-2].paragraphs[0].contents;
            page = table.parent.parentPage.name;
            // $.writeln("This is table "+j+". Product name: "+product+" page "+page);
            c2=table.columns[1];
            c3=table.rows[0].columns.add(LocationOptions.AFTER, c2);
            c3.contents=product;
            c5=table.rows[0].columns.add();
            c5.contents=page;
    This doesn't handle the header rows in tables, but hopefully that's ok.
    It may get page numbers wrong on multipage tables. Probably it would be better to just use
    SpecialCharacters.AUTO_PAGE_NUMBER on the last full line (c5.contents=).
    It should also probably not just look back 2 characters from the start of the table to find the paragraph, but it's probably good enough.

  • STARTED IT, BUT STILL NEED HELP -- INPUTTTING CHARACTERS FROM LOADED FILE INTO TABLE, SELECTING STRINGS FROM TABLE AND PLACING IN NEW TABLE, SAVING NEW TABLE TO SPREADSHEET FILE

    I AM TRYING TO IMPORT CHARACTERS FROM A TAB DELIMITED FILE INTO A TABLE ON LABVIEW.  ONCE THE DATA IS IN THE TABLE I WANT TO BE ABLE TO SELECT INDIVIDUAL STRINGS FROM THE TABLE AND PLACE IT IN A NEW TABLE.  WHEN I CLICK ON A STRING I WOULD LIKE THE SELECTED STRING TO SHOW IN A TEXT BOX LABELED 'SELECTED STEP'  AFTER ALL THE SELECTED STRINGS IS IN THE TABLE I WOULD LIKE TO SAVE THE NEW TABLE AS ANOTHER SPREADSHEET -- TAB DELIMITED -- FILE, MAKING IT ACCESSIBLE TO OPEN.  HERE IS WHAT I HAVE SO FAR.  I CAN INPUT DATA INTO THE TABLE, BUT I CAN ONLY TRANSFER ONE STRING INTO THE TABLE I WOULD LIKE TO BE TO INPUT MULTIPLE STRINGS.    ALSO WHENEVER I TRY SAVING THE FILE, IT ALWAYS SAVES A UNKNOWN FILE, HOW CAN I GET IT TO SAVE AS A SPREADSHEET FILE.  THANKING ALL OF YOU IN ADVANCE FOR YOUR HELP!!!!!!
    Attachments:
    Selector.zip ‏30 KB

    Pondered,
       The question you are asking is the same one that you asked in: http://forums.ni.com/ni/board/message?board.id=170&message.id=132508#M132508, to which I supplied a revised version of the original vi you used (which was modified from the original one I supplied to an earlier thread). A couple of questions: 1) What does my latest not do that is in your question, 2) Why are you starting yet another thread about the same problem?  We are here trying to help, it makes it a lot easier if you keep the same problem in the same thread, it reduces duplication of effort from those that might not have been following the previous thread(s).  Those of us that don't have our "names in blue" are just doing this "for fun" (the blue names are NI employees, who may still be doing it "for fun"), and it makes it more fun if it doesn't seem (correctly or not) that our attempts are ignored.  If an answer doesn't help, or seems incomplete, post a little more detail to the same thread so that the original respondent, or someone new, can provide more information, or understand your problem better.
    P.M.
    Message Edited by LV_Pro on 07-20-2005 01:20 PM
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Export tables to one (csv) multiple spreadsheets in one workbook

    Hi,
    I have a script for auditing users and parameters and so far I have exported the tables to different csv files.
    Is it possible to export e.g. two tables to two spreadsheet in one csv file?
    Thanks! :)

    Hi,
    A csv in not an excel document - it can be opened as if it it an excel file but there is no way to turn a .csv into a multi worksheet file.
    You need some tool that can wtire this natively do this or some vba or something inside excel to fetch the data and populate multiple sheets?
    Regards,
    Harry

  • Error trying to import spreadsheet to a table

    I installed Oracle Database 10g XE on my local pc. While trying to create a table from a spreadsheet that resides on my local machine I am getting an error
    Expecting p_company or www_flow_company to contain security group id of application owner
    Can anyone tell me what this means and how I can correct it ?
    I am new to Oracle and trying to experiment.
    Thanks

    Hi,
    please see also this thread and see if this might help:
    Problem with importing HTML DB applications
    If you don't get any further then please provide the following information:
    1) how large is the file you are trying to upload?
    2) what is the language setting in your browser?
    3) which file character set did you choose (when trying to import the data into the table)?
    4) what is the setting of the registry variable NLS_LANG in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_XE
    ~Dietmar.
    Message was edited by:
    daust_de

  • Delete table from spreadsheet in numbers

    If I have more than one table on a spreadsheet page in Numbers for iPad, can I delete one of the tables?If so,how do I do it?

    If you touch in the spreadsheet, you should see two bars show up on the left & top of the table, along with three buttons (in the top left, top right & bottom left of the table). If you touch the button in the upper left, you get some options. One of those is 'Delete'

  • How can I get Numbers to copy the formatting of a table?

    I am trying to replicate the AppleWorks spreadsheet that I created to do my monthly finances
    My AppleWorks spreadsheet has lots of defined ranges that I'm turning into separate Numbers Tables (so I have to change Many Many Many cell references, which does not seem to be easy in Numbers)
    I've formatted one table as I want it - columns for itemizing expenses for the month with column to describe expense. I've got a header column (e.g. "Hobbies") that I'm centering (merge Cells) over the 2 columns for month's expenses and descriptions. Month's expenses columns are narrower than the description columns.
    I've tried selecting the table and saving as a named style.
    Then, when I create the next table, it starts w/ generic formatting. I clear and apply the style I've just created - _some_ of the formatting is applied to the new style, but not all:
    Fill in the header row not applied
    Merged cells in the header row not applied
    Tinted fill in header row not applied
    Centered text of Merged Cells not applied (left justified, instead)
    Centered text of Months not applied (again, left justified)
    Row heights not applied
    Is there any way to copy ALL of the formatting of a table and apply it to another table?

    Thanks Wayne - I've been working on my AppleWorks to Numbers comversion  using the Apple key - D method to duplicate tables.
    I do have to retype column headers (these change for each table)
    If I could paste formatting, I could copy the entire table from imported spreadsheet, paste formatting, and Wah-Lah.
    Oh, Well the Apple Key - D method (re-entering column heads - type once and then Ctrl-C & a bunch of Ctrl-Vs) is WAY easier than reformatting each table manually.
    Only slightly painful to have to re-enter all the cell references for the summed-column totals in the sub-tables into the main table
    I've been using the same spreadsheet (w/ minor tweaks from year to year) for the past 12 years... it ain't broke & I'm grumpy about fixing what Apple broke - computers are such timesavers... sigh
    Win

Maybe you are looking for

  • PF Calculation for Employee Joined After 15th of the month.

    Hi All, I have an issue with the PF calculation where the system is calculating the period the person worked in the month not the full period while running his payroll in the next month. Exmp: Basic Salary 10000, PF- 12%=1200 Emp Joined on 18th of ap

  • How to import and display an applet from JSP

    i m using netbeans 5.0 i have class named myapplet.class and jsp named myjsp.jsp now i want to access(import) this myapplet.class from jsp also i want to display this applet from this jsp i am able to do either thing but not both so please help me it

  • Screenshare - costs - etc.

    I have built a screenshare app using the latest spark code and would like to start using it across some of my clients that I am working with on a daily basis. Are there any stats available on usage per minute, etc.? Trying to figure out how much high

  • SL extract structure change

    Hello, I have a SL Data Source from the type 3fi_sl_xx_si. The question is that if one of the fields in the SL will be changed from char 10 into char 3 will the extraction fail? I mean will i have to generate the extraction strutre again and create i

  • Help reinstalling Photoshop Elements 8

    My old computer which had Photoshop Elements 8 on it crashed and died! MI am trying to reinstall my Photoshop onto my new computer.  I'm not finding any links to download the program.  I have my serial number for my program.  I'm not the most savy co