I would like to read a file and display the results in a table containing both strings and numbers?

Hi,
I just need a simple way of doing this as at the moment, i read one line at the time containing strings and numbers, whenever i convert this line to an array i loose the strings, if i want to display it, it displays as a group of lines while i would like to display it as a table with column headers. The file is an .xls worksheet.
Any suggestions?
Thanks
Me

Hi,
Look at attach vi.
If this is not what you need please clarify.
With ActiveX you can Open Excel, interact with it (read and write values to cells...
But if you can read it this way, I think it's easier.
Hope this helps,
Paulo
Attachments:
XL.zip ‏24 KB

Similar Messages

  • I would like to make one file and add several related files of photos in the one event.  Keeping photos in seperate event files in one large event file.  Is this possible?

    I would like to make one event file and add several realted event files in this one event file without putting all photos together.  Can this be done?

    Files and events ahve nothing to do with each other
    If you are looking for "sub-events" that is not a feature of iPhoto
    you can use albums and folders - albums hold photos and folders hold albums or other folders
    If thsi does not answer your queation please ask it again - it is not clear
    LN

  • HT5557 I downloaded a book to my Mac and would like to read it there due to the larger screen. The book was transferred to my iPhone which is too small to read comfortably.  How can I read on the Mac?

    How do I read books on my Mac? I downloaded several books to my Mac but they went to my iPhone whose screen is not big enough to see more than a few lines.

    Thanks.  Doesn't make much sense.  Just got done reading my first and last book on the iPhone.  I think the font/glare changed my prescription.  Guess I'll be going back to paper.

  • Just got my Mac air and i would like to make a file to store some web addresses for my new business with rodan and fields and I can't do it. Made the file but i cant copy and paste the web addresses in the file to save them. Please help and thank you.

    Just got my Mac air and i would like to make a file to store some web addresses for my new business with rodan and fields and I can't do it. Made the file but i cant copy and paste the web addresses in the file to save them. Please help and thank you.

    Yes - well you have to make the file in a word processing Application.
    You could use TextEdit (it's free) Pages (words only), or Numbers (data base) (they are part of iWorks - and may or may not be free (included) on your machine.  You could use MS Office (it is not free) You could use any Open source word processor that plays well with Office (NeoOffice, StarOffice) they are free.
    That's how you create content and copy/paste URLS. Then you save the file to the desktop. If you are going to make more than one file... you make a folder on the desktop and save, or drag the file(s) into it.
    You attach it to your e-mail client which will compress it and e-mail it. An excellent reference is to use Help, from the menu bar, also from inside any application. From your library or book store the OS X for Dummies has a lot of useful information (you don't read it cover to cover but look up chapters about what you'd like to do)
    You can also make appointments at your local Apple store for individualized help (if a store is nearby)

  • I would like to read a ASC11 file ?

    I would like to read a ASC11 file ? i would like to read the ASC11 file but there is a 2 lines header in this file.and i dont wanna read this header.this ASC11
    file has 12 columns and then i wanna convert them to
    binary file.
    any example would be great.
    thanks

    i am sorry that you are getting upset due to my repetitions of question.
    well i have looked into example read from text file
    and tried with this but it did not solve my problem.
    in this example this function is reading data line
    by line and i dont want to read the data line by line.
    for this reason i removed the inner while loop.
    to skip the 2 lines header when i call read file
    function 2 times. i still get the header in my result file.
    when i write the data of 12 columns and N number of rows by calling write to binary function,i tried to read this binary data with the help of Matlab. i get
    only one column and it look likes that it is transposed.the output of the read function is 2 dimensional array. i try to write this 2 dimensional
    array by call
    ing write to binary function and i also
    want to display the 2-Dimensional data in 2 dimensional
    indicator array.
    this all things i tried already but could not get the
    desired result. therefore i wrote again.
    any way if you are upset then take my questions back and thanks for your tips.

  • Good day, I have installed Acrobat DC, and would like to combine 2 files. One is excel allready converted to PDF - No problem. The other one is from Pastel mailed as PDF.

    Good day,
    I have installed Acrobat DC, and would like to combine 2 files. One is excel allready converted to PDF - No problem. The other one is from Pastel mailed as PDF.
    When trying to merge the files, this file ask for a Password. No password was issued from the setup or mail?

    Good day abrieb93050306,
    I can understand your concern, however can you please let me know that are you able to open both the PDF files ( the one you converted form excel to pdf & the other pdf that was mailed to you ) individually without using any password?
    As it asks for the password, it means that the postal mailed PDF is password protected. You can ask for the password from the sender of the postal mail & then try to combine the files.
    Please follow the steps in the provided KB doc.to combine the files : Combine files into single PDF | Adobe Acrobat DC tutorials
    This will probably resolve your issue.
    Let me know if you still experience any issue.
    Regards,
    Aadesh

  • I would like to read a text file in which the decimal numbers are using dots instead of commas. Is there a way of converting this in labVIEW, or how can I get the program to enterpret the figures in the correct way?

    The program doest enterpret my figures from the text file in the correct way since the numbers contain dots instead of commas. Is there a way to fix this in labVIEW, or do I have to change the files before reading them in the program? Thanks beforehend!

    You must go in the labview option menu, you can select 'use the local
    separator' in the front side submenu (LV6i).
    If you use the "From Exponential/Fract/Eng" vi, you are able to select this
    opton (with a boolean) without changing the labview parameters.
    (sorry for my english)
    Lange Jerome
    FRANCE
    "Nina" a ecrit dans le message news:
    [email protected]..
    > I would like to read a text file in which the decimal numbers are
    > using dots instead of commas. Is there a way of converting this in
    > labVIEW, or how can I get the program to enterpret the figures in the
    > correct way?
    >
    > The program doest enterpret my figures from the text file in the
    > correct way since the numbers contain dots instea
    d of commas. Is there
    > a way to fix this in labVIEW, or do I have to change the files before
    > reading them in the program? Thanks beforehend!

  • I would like to transfer my iTunes and photos etc from my PC to my new iMac via a external hard drive. Would somebody recommend one. I read that the Western Digital Mybook Essential 3.0 is good.

    I would like to transfer my iTunes and photos etc from my PC to my new iMac via a external hard drive. Would somebody recommend one. I read that the Western Digital Mybook Essential 3.0 is good. Though as Mac has 2.0 is this fast enough? I am a basic user, surfing only.

    If you plan on using the WD with the Mac after the iTunes transfer I would strongly recommend against WD. WD external HD's tend to be the most troublesome with Macs. If you intend to use the drive for backup using Time Machine or creating a bootable clone then I'd recommend a higher quality drive than WD. The drives I'd recommend in that case would be:
    OWC Mercury Elite Pro series
    LaCie d2 Quadra series
    G-Tech G-DRIVE series
    These are all high quality drives and enclosures with similar features. Personally I use the LaCie's however I would be happy to have OWC and G-Tech on my desk too. FWIW I've been using the LaCie's for 4 years and have 4 of them, all work perfectly and have never given me any trouble.
    You also my find this article helpful: Move an iTunes library from a PC to Mac (and back)

  • I would like to upload a file for a client and have it expire (lock them out of it) at a prescribed time

    I would like to upload a file for a client and have it expire (lock them out of it) at a prescribed time, say, 2 days after delivery. Any way to put a time limit on a file?

    No.
    Mylenium

  • My membership is up in July & I would like to update my files as per instructions from adobe.

    My membership is up in July & I would like to update my files as per instructions from adobe. However the program will not let me.  I will have money to upgrade membership for another year soon.
    what can I do in the meanTime????????
    Peter Spier,
    I have been trying to download InDesign and Photoshop for a long time. However, I found out that the programs that I have were all ready installed when I was given the computer. I got in touch with the people and through some questions it was discovered that I need to have Windows 7 for the programs to be compatible. I sent the 11 page Upgrade Advisor Report to Boston for review. Give me a few days to see if I can resolve the problem. Then I will get in touch with you to see what you recommend.
    Thank you.
    Donna Rottman

    OK.
    To avoid confusion, I think we should keep all of this in one thread: http://forums.adobe.com/message/6029742#6029742
    I'm going to coppy the above information and post it there, then lock this thread. If you need to respond you can use the link you will find at the top of the new email you will get when I post in the other thread.

  • I wish to upgrade my Macbook Pro to ML from SL but told the only way to do this is by downloading thru App store. Is it possible to copy ML on a USB and upgrade that way. I would like to have a back up of the OS just in case i have a problem later. Help!

    I wish to upgrade my Macbook Pro to ML from SL but told the only way to do this is by downloading thru App store. Is it possible to copy ML on to a USB and upgrade that way. I would like to have a back up of the OS installation files just in case i have a problem later. Please help me!

    You can create an install disc but you would have to download Mountain Lion to do so..
    How to create an OS X 10.8 Mountain Lion install drive | MacFixIt - CNET Reviews
    And make sure your Mac can upgrade to Mountain Lion.
    See Step 1, 2, and 3, here >  Apple - Upgrade your Mac to OS X Mountain Lion.

  • I would like to uninstall firefox 4 and then reinstall it, but how do I save my book marks?

    I would like to uninstall firefox 4 and then reinstall it, but I don't want to lose all of my bookmarks. The actual problem is a persona that won't stay changed. We change it, but every time we close Firefox it goes back to the Persona we changed it from when we start up Firefox again. I was just planning on uninstalling and reinstalling Firefox, but, like I said, I don't want to lose my bookmarks. How do I save my bookmarks in Firefox 4?

    You could always remove/disable the Persona that you don't want. Go to Add-ons > Appearance, and then just disable/remove the offending Persona.
    Though, if you really want to save your bookmarks:
    Bookmarks > Show All Bookmarks > Which will open the Library > Look for Import and Backup > Backup...> and it will prompt to you save the file somewhere. To add them back into Firefox, go back to the library > Import and Backup again > Restore > Choose File... > and then open the file you saved earlier.

  • Reading s file and saving a the dta to an array

    Hi,
    I have a txt file that is contained of text and numbersso this is the format :
    hdfsgfjsgfjsfg
    kshfkwhfl
    kshfakh
    kahflak
    Xunit , YUNIT
    1,2
    2,3
    5,4
    So I want to read this file and save the numbers to two arrays, here is my code, and it gives error on Ch[i] = result[1]; it also say array out of bound and it gives me the watrning that ReadDile.java overrides a depricated API. hELP:
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    public class ReadFile {
    public static void main(String[] args) throws IOException {
    /*Open the file and Read the file
         File inputFile = new File("wfmdata.txt");
         FileReader in = new FileReader(inputFile); */
         FileInputStream fis = new FileInputStream("wfmdata.txt");
    BufferedInputStream bis = new BufferedInputStream(fis);
    DataInputStream dis = new DataInputStream(bis);
         String c;
         String[] T = new String[10012];
         String[] CH = new String[10012];
    int i=0;
    for(;;)
    /*Read one line and store it in variable c */
    c = dis.readLine();
    //if a null line return
    if(c != null)
    if( (c == "XUNIT , YUNIT"))
    continue;
    String[] result = c.toString().split(",");
    T[i] = result[1];
    CH[i] = result [1];
    System.out.println( T[i] + "," + "CH" + result.length);
    i++;
         }else
    dis.close();
    how would I change the code to get rid of the errors!
    there are 10000 lines of numbers(data).
    Sanaz,

    If you are only trying to read in integers i would recommend a different approach. Try using the scanner class. It's new to 1.5 It basically splits up everything in the data source into tokens based on where there is white space. what might interest you is that it has methods to just retrieve primitive types ints, doubles etc.
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html
    you might try something like this. It will ignore strings and just handle integers, based on the format you have given.
    import java.util.Scanner;
    import java.io.*;
    public class ReadFile
        public static void readFile() throws FileNotFoundException
            Scanner sc = new Scanner(new FileReader("C:\\YourFile.txt")); // set the source of the data and create a scanner object to tokenize the data
            int[] xUnit = new int[10012]; // initialise the integer arrays
            int[] yUnit = new int[10012];
            while (sc.hasNextInt() == false) // checks to see if the next "token" read by the scanner is an integer
                sc.next(); // moves onto the next token until an int is found.
            for (int count = 0; count < xUnit.length; count ++)  // goes through the array until it hits the end
                xUnit[count] = sc.nextInt(); //assigns the int to the array
                sc.next(); // skips the comma
                yUnit[count] = sc.nextInt(); //assigns the next int to the other array
            for (int count = 0; count < xUnit.length; count ++)
                System.out.println( xUnit[count] + "," + yUnit[count]); //prints out all the data read in
    }Bear in mind my java experience is fairly limited, so this may not be what you're after.

  • Read Text file and count occurences of certain string

    Hello,
    I have a text file with lines of data in it. I would like to read this text file and count how many lines match a certain string of text. 
    For example my text file has this data in it.
    dog,blue,big
    dog,red,small
    dog,blue,big
    cat,blue,big
    If the certain string of text is "dog,blue,big" then the count would return "2".
    Thanks for your help

    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 the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
    In addition, if you are working with Windows Forms app. please consult on Windows Forms Forum:http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    If you are working with WPF app, please consult on WPF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
    If you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    Visual Studio Language Forums:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages
    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.

  • I would like to transfer a playlist and associated music from one computer on a home sharing network to another without transferring the entire library.  How?

    I would like to transfer a playlist and associated music from one computer to another in a home sharing network without transfering the entire itunes library.  How would I do that?

    you can transfer playlists using home sharing but it won't copy the actual music files within to the other machine.
    however, i believe TuneRanger can do that.

Maybe you are looking for

  • UNdeploying an EJB

    Is there an automated way to "un"-deploy an EJB? ...or, is removing the generated classes and unpublishing the object sufficient? (Does that leave anything behind?) null

  • HELP! I've fallen and I can't reach my code!

    I had to write this online bookstore applet for ... for a client ... and right after I finished it, I fell down! I can't reach the CD with my code on it and I have to submit it online right away! Please, someone write the program for me and post it h

  • Insert SDO_GEOMETRY using array binding

    Hi, does anyone know howto insert the elem_info array and the ordinates array of a SDO_GEOMETRY object using array binding and ODP or if there is a way to insert the SDO_GEOMETRY object using the same technique. /Anders

  • Problem with Crystal Report XI and Regional Settings

    Dear All, I am working on Crystal Report XI under Chinese Windows 2000 Professional and Chinese Visual Foxpro 9.0. I created a User defined Function Library under VFP9.0 as an ActiveX with a function that return a String. I could saw the function in

  • Active Tax Codes

    Dear All, Please advice in which table we can get the active withholding tax codes. thanks in advance