I need a little help help with the Spreadsheet 9 ActiveX control

Here's the situation: I want to import data from an Excel file to the MS Office Spreadsheet 9.0 ActiveX control on the LV front page. I can retrieve the data just fine but I can't get it to display in the control on the front page. I can select a range and when I try to write to the Value property I find that I cannot. The problem seems to be the Value property itself cannot handle 2-D data arrays. I can select a 2D range and write a single value which gets written to every cell in the range but when I read the data I get only the first cell in the range and an error if I try to caste the Variant output to a 2D array.
I've noticed a Value2 property for the range when actually working with Excel but I haven't been able to determine where or if it exists for the Spreadsheet 9 control. I've attached a little test program to better show what I'm experiencing/talking about. Anyone have any suggestions on this? It seems like it would be possible or else why have the control there but I haven't found a way around it. Thanks in advance.
Gary D
Attachments:
spreadsheet 9 test.vi ‏41 KB

Jack J. wrote:
Hey Gary,
What version of MS Office does the 9.0 ActiveX control come with. I have version 11.0 here. I could get your program working on my computer but I had to reinitialize the activex control to the 11.0 control. I also had to reselect the properties. All the properties are essentially the same except Value. In this ActiveX version, I see the Value2 property (the Value property does not exist). And your method of reading and writing to the Value2 property handles 2D arrays.
If you can tell me what version of Office you are using, I will try to find a computer with that version and try your program.
Jack J.
Applications Engineer
National Instruments
Most of the computers have Office 2000 which uses the Value property and the Spreadsheet 9.0 control. I too have been able to duplicate it ona computer with Office 2000 (Spreadsheet 11.0). I think it may just be a functionality of the Excel version though for some reason if I use Excel and go through the song and dance with the methods and properties, I get to the Value2 property.
After writing that it seems weird that using Excel properties and methods gets me to the point where I can select the Value2 method and read/write accordigly, but with the Spreadsheet 9.0 control (which, I assume is simply embedding Excel in the app) I get to a different set of properties. Perhps Spreadsheet 10 (or 11) is on the computer but not showing up? That's the only sensible conclusion I can come to, though it seems weird for it to not show up on multiple computers which effectively kills that idea anyway.
Anyway. thanks for any help you can provide.

Similar Messages

  • Hello, we have both Creative Cloud and Creative Cloud for teams. Can you help me with the difference and if i need to have both?

    Hello, we have both Creative Cloud membership and Creative Cloud for team. Can you help me with the difference and if i need to have both? We have 9 employees that are using it. Just not sure if i'm paying for something i don't need.
    Thank you

    Please refer to Creative Cloud Help | Creative Cloud / Common Questions
    CC is for retail use with 20 GB of storage space, CCT is where number of seats are purchased & assigned by one program admin where each seat gets 100GB of storage space.
    You can not have both the CC & team in one account as it will only provide you added storage space of 120 GB but you can activate the CC any of them or either of them twice as CC is based on Adobe ID.
    Regards
    Rajshree

  • Please help me with the iphone 4 trouble

    I'm using iphone4 and i saw a new update IOS7 and i press to update,the iphone is  updating than it turn off for 5 minutes later it turn on again but with the app's logo and it start to repeat again and again and I can not connect to itunes to fix,I do not know what to do ,hope you guys will help me with the iphone,i reallly need it right now

    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download
    Christine Hua wrote:
    the iphone is  updating than it turn off for 5 minutes later it turn on again but with the app's logo and it start to repeat again and again and I can not connect to itunes to fix,
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.
    Unauthorized modification of iOS  >  http://support.apple.com/kb/HT3743

  • Please help me with the installation process.

    i have got free norton antivirus activation keybwith the pirchase of hp 16 gb pendrive .
    please help me with the installation process.

    Hey @10p,
    Welcome to the HP Support Forums!
    I understand that you need assistance with the installation of Norton Antivirus that you received with the purchase of an HP 16gb Pendrive. Did you get the Pendrive with a computer or just purchase the Pendrive on its own?
    Once I know if the Pendrive came with the purchase of a computer I will be able to point you in the right direction for support. Good luck!
    X-23
    I work on behalf of HP
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    Click the "Kudos, Thumbs Up" on the right to say "Thanks" for helping!

  • Please help me with the homework given to me by my teacher

    hello,i am new in java programming please help me with the home work given to me by my teacher at school, help me to build an interface that can work with this code.i can build an interface but i dont just understand this code.
    //references:
    //http://forums.techguy.org/development/570048-need-write-java-program-convert.html
    import java.util.Map;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.BufferedReader;
    import java.io.FileReader;
    public class Translate
      public static void main(String [] args) throws IOException
        if (args.length != 2)
          System.err.println("usage: Translate wordmapfile textfile");
          System.exit(1);
        try
          HashMap words = ReadHashMapFromFile(args[0]);
          System.out.println(ProcessFile(words, args[1]));
    catch (Exception e)
          e.printStackTrace();
      // static helper methods
       * Reads a file into a HashMap. The file should contain lines of the format
       *    "key\tvalue\n"
       * @returns a hashmap of the given file
      @SuppressWarnings("unchecked")
      private static HashMap ReadHashMapFromFile(String filename) throws FileNotFoundException, IOException
        BufferedReader in = null;
        HashMap map = null;
        try
          in = new BufferedReader(new FileReader(filename));
          String line;
          map = new HashMap();
          while ((line = in.readLine()) != null)
            String[] fields = line.split("\\t", 2);
            if (fields.length != 2) continue; //just ignore "invalid" lines
            map.put(fields[0], fields[1]);
    finally
          if(in!=null) in.close(); //may throw IOException
        return(map); //returning a reference to local variable is safe in java (unlike C/C++)
       * Process the given file
       * @returns String contains the whole file.
      private static String ProcessFile(Map words, String filename) throws FileNotFoundException, IOException {
        BufferedReader in = null;
        StringBuffer out = null;
        try {
          in = new BufferedReader(new FileReader(filename));
          out = new StringBuffer();
          String line = null;
          while( (line=in.readLine()) != null ) {
            out.append(SearchAndReplaceWordsInText(words, line)+"\n");
        } finally {
          if(in!=null) in.close(); //may throw IOException
        return out.toString();
       * Replaces all occurrences in text of each key in words with it's value.
       * @returns String
      private static String SearchAndReplaceWordsInText(Map words, String text) {
        Iterator it = words.keySet().iterator();
        while( it.hasNext() ) {
          String key = (String)it.next();
          text = text.replaceAll("\\b"+key+"\\b", (String)words.get(key));
        return text;
       * @returns: s with the first letter capitalized
      String capitalize(String s)
        return s.substring(0,0).toUpperCase() + s.substring(1);
    }... here's the head of my pirate_words_map.txt
    hello     ahoy
    hi     yo-ho-ho
    pardon me     avast
    excuse me     arrr
    yes     aye
    my     me
    friend     me bucko
    sir     matey
    madam     proud beauty
    miss     comely wench
    stranger     scurvy dog
    officer     foul blaggart
    where     whar
    is     be
    are     be
    am     be
    the     th'
    you     ye
    your     yer
    tell     be tellin'

    Heres your answer. Run it in on your pc.
    public class Annoy
    public static void main(String[] args)
       System.out.println("I am a triple poster.");
       System.out.println("I can not understand why I can not understand the help I have receved to date on the java forums.");
    }

  • Pls help me with the issue(pls )

    Hi Experts!
    Please help me with the issue.
    I need to transfer data from .net system to sap system for
    a customised tcode.
    The whole process Should be automated .
    I researched on this topic, and it seems ALE IDOC ,BAPI OR RFC can be used.
    But i really dnt know how to move forward with this issue.
    Regards
    Jaya

    Hi,
    Thanks for the reply.
    The problem is That i m going to do ale idoc for the first time and moreover I need to upload the excel file using customised tcode zcs15.
    The screen of zcs15 consists of 2 fields.
    One is for the name and other one is for uploading excel file.
    Can u pls guide me.
    Will reward u for sure.
    Regards
    Jaya

  • Hi, I'm trying to download applications, but after I enter my ID password it's giving me window - cannot open iTunes? Please could you help me with the solution

    Hi, I'm trying to download applications, but after I enter my ID password it's giving me window - cannot open iTunes? Please could you help me with the solution

    What did you have to do? I am having the same window come up and I read all of the support trouble shooting. Still won't work.
    I need help please.

  • How to change a prospect status to customer in BP,when the prospect turns out to be a potential customer?Please help me with the details.

    How to change a prospect status to customer in BP,when the prospect turns out to be a potential customer?Please help me with the details.
    Moderation: Kindly search before you post

    Dear Ramesh,
    Using Account life cycle we can record the different stages of a BP.
    But at any point of time we can hold one Stage at Business partner.and once we change status Prospect ro Customer. We can't able to see Prospect Status in that BP.
    Ex -
    Stage A- Potentail
    Stage B- Prospect
    Stage C- Customer
    with the help of UI configuration we can define.
    Need your comment,
    Thx
    Karthik

  • HI ,We would like to ask you to help us with the following problem

    We would like to ask you to help us with the following problem. As usual we tried to post unmatched received advance payment which is subject to output VAT via transaction SM35. Normally we post the payment to account 501020 (Advances Received from Operating Activities), we generate output VAT by clicking on u201CSimulate Taxu201D. Then we simulate the document and four lines are automatically generated (please see the attached scan of such document posted recently):
    40           510000 (Trade Receivables - Receive from Bank)
    19           501020 (Advances Received from Operating Activities)
    50           400000 (Output Tax (Sales Tax Payable))
    40           405033 (Customer Advances VAT)
    However when we tried to post it today it is not possible and an error message u201CTax clearing account 405033 may not have open item managementu201D appears u2013 please see the scanned printscreen. This did not happen in the past.
    We would appreciate if you could solve it as soon as possible as we still need to post it to period 12.

    Hello
    You execute the t/code FS00 for G/l 405033 and go the control tab select tick in open item mgt under act mgt in co.code.
    Regards
    Avijit

  • Help!!! (CrystalDecisions.Web.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer)

    Post Author: mrmc
    CA Forum: General
    Hi all,
    Recently, I got problem on using cystal report on asp.net web. the error msg is:
    Parser Error Message: The base class includes the field 'viewer', but its type (CrystalDecisions.Web.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer).
    in the code:
    <%@ Register TagPrefix="ce" Namespace="CrystalDecisions.Enterprise.WebControls" Assembly="CrystalDecisions.Enterprise.Web, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %>
    <CR:CrystalReportViewer id="viewer" runat="server" AutoDataBind="true" HasCrystalLogo="False" Width="350px"          Height="50px" HasToggleGroupTreeButton="False" DisplayGroupTree="False" HasGotoPageButton="False" HasRefreshButton="True"          DisplayToolbar="False"></CR:CrystalReportViewer>
    In web.config
    <add assembly="CrystalDecisions.Web, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=1234567890"/>
    the server contains crytal report 9 (come from .net studio) and crytal report 11 (installed standalone). 
    I googled this problem, it seems a lot of people got this problem but no solution...
    could anyone help me?  Thanks!

    Post Author: david.wilkes
    CA Forum: General
    You might try Removing the Reference and re-adding the reference. That seemed to get me pass this error, but I ran into another error that I have not figured out yet.

  • Please help me with the digital signature validation problem?

    Please help me with the digital signature validation problem?

    Hi
    Execute the program in the Debuggin mode.
    In the Debugger Window
    Select Breakpoint -> Break point at -> Breakpoint at source code Menu Item and enter the details of the program/include/line no..
    Activate the System Debugger On from the Settings Menu.
    Hope this would help you.
    Murthy
    Edited by: Kalyanam Seetha Rama Murthy on Jul 18, 2008 7:20 AM

  • Please help me with the accounting records of iTunes. At step in placing credit card details are asked to contact iTunes Support

    Please help me with the accounting records of iTunes. At step in placing credit card details are asked to contact iTunes Support

    Brenda, the easiest way to contact the support team is thru the iTunes Customer Service website:
    http://www.apple.com/support/itunes/contact/

  • Please help me with the step by step instructions on how to install a Windows server 2008 on a computer that has Windows 8 installed on it

    Please help me with the step by step instructions on how to install a Windows server 2008 on a computer that has Windows 8 installed on it without formatting windows 8.Please email the steps , Thanks

    Please help me with the step by step instructions on how to install a Windows server 2008 on a computer that has Windows 8 installed on it without formatting windows 8.Please email the steps , Thanks
    Assuming your rig can support virtual machines, you can use Hyper-V and run another OS there.
    Better practice however is to use a dedicated machine and use remote desktop to the server.
    Corsair Carbide 300R with window
    Corsair TX850V2 70A@12V
    Asus M5A99FX PRO R2.0 CFX/SLI
    AMD Phenom II 965 C3 Black Edition @ 4.0 GHz
    G.SKILL RipjawsX DDR3-2133 8 GB
    EVGA GTX 6600 Ti FTW Signature 2(Gk104 Kepler)
    Asus PA238QR IPS LED HDMI DP 1080p
    ST2000DM001 & Windows 8.1 Enterprise x64
    Microsoft Wireless Desktop 2000
    Wacom Bamboo CHT470M
    Place your rig specifics into your signature like I have, makes it 100x easier to understand!
    Hardcore Games Legendary is the Only Way to Play!

  • HT1338 Could you please help me with the problem. I have mac os 10.7.4 on my macbook pro retina and want to update it to 10.7.5. I had been waiting for 2 hours to do it, but then it appeared that it was impossible. What should I do?

    Could you please help me with the problem. I have macbook with retina with mac os 10.7.4 ann want to update it to mac os 10.7.5. I had been waiting for 2 hours to do it and had tried 3 times but it appeared that it was impossible. What should I do?

    You can download the standalone updates:
    OS X Lion Update 10.7.5 (Client Combo)
    OS X Lion 10.7.5 Supplemental Update

  • HT201210 Hey,I've got a problem on my iPad mini for a few days now?My iPad is in recovery mode at the moment and I Cannot restore my Ipad with iTunes...Can anyone help me with the solution?Each of your helps will be appreciate

    Hey,I've got a problem on my iPad mini for a few days now?My iPad is in recovery mode at the moment and I Cannot restore my Ipad with iTunes...Can anyone help me with the solution?Each of your helps will be appreciate...Thanks for all the helps...

    Follow step 1 to 6 closely to recover your iPad.
    http://support.apple.com/kb/HT1808
    Note: You may have to repeat the above a few times

Maybe you are looking for

  • HT1351 itunes doesn't recognize my ipod nano

    Why is this happening?  Is it because its an older version?  Itunes is newer?  I have no idea what I'm doing.  This is for my daughter.

  • Mac Pro keeps shutting off randomly

    Hey guys, My Macbook Pro keeps shutting off randomly. Its been doing it for a few months now and I was finally able to restore it to factory settings to see if that would fix the problem but it hasnt. Sometimes it will shut off every five minutes, ot

  • Not able to receive a mail to external ID

    Hi All. I am working on one requirement where I need to send a Log file to some of users. I have written a code and I am able to see the mail details in SAP OutBox, but not able to find any mail on given receipent mail ID. I have check through SCOT b

  • Numbers creates additional pages

    When I create a Numbers spreadsheet, how come there are additional pages that are printed when I print? How do I get rid of those. I only have data on one page, but at least 3 - 4 other pages print also. I also don't know how to get rid of those fain

  • How can I stop the constant and repeated pop-up to sign-in to iTunes?

    How can I stop the constant and repeated pop-up to sign-in to iTunes?