How to link Excel ActiveX document?

I would like to display the contents of an Excel workbook on the
front panel of a VI. I have created an OLE container on the
panel and inserted an Excel Worksheet document as the object.
Labview has set refnum type to excel.workbook and everything
works fine except one thing: I can't seem to find the right
methods/properties for linking this object to an existing file
so I can display its contents. NI's website has an example of
how to create and populate a new document on the front panel,
but I couldn't find and example of how to get the contents of an
existing file into the OLE document. Is there an example, or
does someone know how to do this? Thanks in advance for your
help.
* Sent from RemarQ http://www.remarq
.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

I have seen this working for some folks in my company. They moved their spreadsheets into SharePoint, and changed the references to other spreadsheets from file paths to be the urls of the items in SharePoint.
w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP

Similar Messages

  • How to link excel workbooks in Sharepoint?

    I have a master Excel spreadsheet and other sub excel spreadsheets (all on Sharepoint) that are linked to each other (copied data from one and pasted link to other) so that the Master spreadsheet auto-updates every time a sub document is modified. This
    format works if the documents are hosted on my computer, however, the links become broken if they are hosted on Sharepoint and I get a #REF! message. My goal is to have a master document that is linked to data of other sub spreadsheets and auto-updates when
    they are modified without having to open the sub spreadsheets. I would like to be able to open the master document, refresh it, and have the current data pulled from the linked sub spreadsheets. Any suggestions on how I can do this?

    I have seen this working for some folks in my company. They moved their spreadsheets into SharePoint, and changed the references to other spreadsheets from file paths to be the urls of the items in SharePoint.
    w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP

  • How to link Excel file to Access

    Hello,
    I created a barcode database using excel and labview. Now i want this data to be in access as a database and continuosly update it.
    I have a doubt also as i have created excel sheet of various product barcode and there is always a new sheet that is saved when ever working( this is a requirement)  so how can i link all the file and creat one access database.
    Thanks in advance, Need urgent help
    Regards
    Naman Vaidya

    sorry for the confusion. 
    i want labview to link my excel and acess, so that a database is created.
    second thing is i am having verious barcode data like for eg. for product X i have a particular barcode and for product Y another so my software create a new excel file whenever we change a product or a particular quantity of any product is filled. Now the question is if everytime i creat a new excel how do i creat a single database by linking all files using labview.
    Thanks for the reply.

  • How to link Excel 2010 .XLSX file to SQL server 2008R2 - a method that actually works?

    I have been trying unsuccessfully to link my excel file to SQL server like I used to with SQL 2005.
    In SQL 2008R2 I have installed the 64-bit data access components from Office 2010 to get the  provider 'Microsoft.ACE.OLEDB.12.0' avilable.
    When I try this command:
    SELECT
    FROM
    OPENDATASOURCE(
    'Microsoft.ACE.OLEDB.12.0',
    'Data Source="E:\ADUpdates\Employee List1.xlsx"; Extended properties=Excel 12.0')...[Sheet1$]
    I get this error:
    Msg 7399, Level 16, State 1, Line 1
    The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" reported an error. Access denied.
    Msg 7301, Level 16, State 2, Line 1
    Cannot obtain the required interface ("IID_IDBCreateCommand") from OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)".
    The Access Denied error seems to be form the worksheet and not the file itself. Evidence is that if I enter a bogus sheet name it tells me the sheet doesn't exist and after this error the file is locked open and can't be saved again from Excel until the
    query windows is closed. The sheet is not protected in Excel so I don't know how access to it can be denied.
    Does anyone actually have this working in SQL 2008R2?

    Some minor progress on this issue by running SQL Server service under a domain account with Administrator priv on the SQL server.
    This query now works in a query window:
    SELECT * FROM OPENDATASOURCE( 'Microsoft.ACE.OLEDB.12.0', 'Data Source="E:\ADUpdates\Employee List.xlsx"; Extended properties=Excel 12.0')...[EmployeeData];
    However, creating a Linked server object for the same spreadsheet still does not work:
    EXEC master.dbo.sp_addlinkedserver @server = N'TEST', @srvproduct=N'Excel 12.0', @provider=N'Microsoft.ACE.OLEDB.12.0', @datasrc=N'E:\ADUpdates\Employee List.xlsx'
    The test connection to the linked server failed.
    Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "TEST".
    OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "TEST" returned message "Unrecognized database format 'E:\ADUpdates\Employee List.xlsx'.". (Microsoft SQL Server, Error: 7303)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
    Naturally, the help link provided only confirms the contempt microsoft holds for their customers by not providing any information at all.
    (appologies for the weird colour and fonts, this is a microsoft product, just have to live with obvious defects).

  • How to link Excel tabs so data shows up in one report

    I have a huge excel file with 16 tabs (sheets) of data. Each tab has an excel speadsheet filled. I have the data in Crystal. Each tab shows up as a separate table. I've tried to link each in different ways but can only get one table to show up in the report. I want all the data in one report. If that's possible. It would be very large.

    Graham,
    Thanks for answering,
    Yes I have the tables and can link them (have tried a couple of different ways) One has all the data fields linked between tables and the other way was to run them in series with just one field linked. Either way the Field Explorer on the right side of the screen shows each table and each table lists all the fields. But the problem is that the report only shows data from one table, not all the tables or all the data. The data that it shows is only from the table that I selected the fields from.
    Hope this makes sense. Thanks

  • How to link Excel Chart with multiple columns dynamically?

    Hi all,
    I have one problem. I have an excel chart which has to read data from multiple columns for it's X-axis values (time stamps) and the same number of values for it's Y-axis from multiple columns. See figure attached.
    Now, you can do this by manually assigning values by holding control key to tell the chart that data from many columns is continued from the first column. i.e, a long data is distributed along may columns. This is done very easily manually.
    Now, how to do it at runtime through LabVIEW 8.0?
    Although, I have done it through labview when there where only two columns, A and B streching up to any length. But, now to save space we are dumping into many columns in the same page and want the chart plot that data as we dump it. 
    It is tough since I don't know how to assign SourceData of the chart through labview.
    I have attached chart's SourceData picture.
    Hope you all can solve my problem.
    The Y-axis values are: =(good!$B$30:$B$70,good!$D$30:$D$70,good!$F$30:$F$70,good!$H$30:$H$70,good!$B$71:$B$140,good!$D$71:$D$140,good!$F$71:$F$140,good!$H$71:$H$140,good!$B$141:$B$189)
    good is the name of the file.
    The X- axis values are: =(good!$A$30:$A$70,good!$C$30:$C$70,good!$E$30:$E$70,good!$G$30:$G$70,good!$A$71:$A$140,good!$C$71:$C$140,good!$E$71:$E$140,good!$G$71:$G$140,good!$A$141:$A$189)
    See the columns vary from A to F.
    I have still not got what I love.....
    Attachments:
    ExcelChart.JPG ‏113 KB
    SourceData.JPG ‏34 KB
    XY values.JPG ‏36 KB

    Ok i solved the excel chart problem. Here is the figure showing my victory! But offcourse with NI forum help.
    Message Edited by Halemani on 09-19-2008 06:33 AM
    I have still not got what I love.....
    Attachments:
    Chart_XValues_Values.JPG ‏36 KB

  • How to link documents in SD following tables?

    Hi All,
    I am new to SD and I am a technical person not a business person. But now I have to find out how to link a billing document of type Credit Memo (tcode VF03) with the invoice that originated it. I can see in the document flow of the credit memo (button Display Document flow) all the documents related but... where are those link in the data dictionary? I need the technical part that lays behind this. How can i follow the track of the former documents knowing only one of them?
    I hope you can help me experts.
    BR. Elena

    Elena,
    VBFA table is for Document Flow for which you can see all the preceeding Documents.For Example VBRK ( Billing Table) --> LIKP ( Delivery Tabel ) and VBAK ( Order Tabel).Here for Billing Document the Preceeding Document is Delivery and for Delivery Doucment the Preceeding Document is Order.
    Hope this clarifies your doubt and Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Adding rows to linked Excel tables in InDesign

    Hi there, I have figured out how to link Excel documents to tables in InDesign, but is there a way to add additional rows to the tables in InDesign?  If I do that, whenever the Excel link is updated, it deletes the new rows I've added.
    We have data that goes in the cells below the linked table and it needs to be in the table so that they'll resize automatically when longer or shorter data is pulled in (vs. just being a totally separate text box/table outside of the linked one).
    Help!

    Hi, yes, I did add blank rows but the difficulty is that for each instance (20+) the cells below vary, and are also "tagged" with variable data tags (so it brings in outside data via an xml feed) so that's only done in InDesign and not in excel... Therein lies my dilemma.  Ideally if I could be "free" about what text, cells, etc. I can put in below the linked cells, that'd be lovely.

  • DTW : How to link an invoice to multiple delivery (BaseEntry or other)?

    Hello experts,
    With DTW, How to link an invoice to multiple delivery (BaseEntry or other)?
    In other words, How to link a target document to more than 1 of base documents, can i use 2 or 3 numbers in BaseEntry, to readjust the quantity exceeding problem found in the existing system.
    Regards,
    Hafid

    Gordon,
    Yes effectively. this detail efcaped me even though I knew it. I thought otherwise. When an invoice is based on two deliveries for the same item and this invoice contains a single line grouping the 2 quantities, I forgot that it's 2 different lines of the same item.
    Example:
    Delivery No  1 | Item A | quantity: 1000
    Delivery No. 2 | Item A | quantity: 600
    Invoice No. 1 based on delivery No 1 & 2 | Item A | Quantity: 1300
    Thank you, now my vision is clear
    Hafid

  • How to link to and open external document with Mac Dreamweaver

    I'm evaluating Dreamweaver on the Mac. I know how to link to
    an external document, such as a Word or Excel document. However, I
    would like for the file to automatically open when the link is
    clicked, rather than taking me to a directory window (where I then
    have to double-click the file icon). Another option would be to
    easily import data from a Word or Excel document, but the Help
    indicates that's only possible when using Dreamweaver on Windows.
    Thanks for any guidance you can provide.

    What you need to do is this:
    1.) back up all your data from your iPod
    2.) reformat it on the Windows machine.
    You'll then be able to use your iPod on both Windows and Mac:) If you need more help, let me know!

  • How do I convert an excel (2008) document to Numbers?  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid"

    How can I convert an Excel (2008) document to Numbers.  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid.

    That extension identifies the most current Excel file format, a format that can be opened by Numbers '09 (and by Numbers '08).
    A check with Numbers '09 shows it capable of opening .xlsx files when right-clicked (and Numbers chose as the application to open, when double-clicked (if Numbers has been set as the default application to open this type of file, or when dragged to the Numbers icon in the dock.
    I see two possibilities for Numbers inability to open it and the message you receive:
    1. The file is not actually an Excel file, and the sender has added the .xlsx extension to the filename manually.
    2. The file is an Excel file, but has somehow been corrupted.
    Have you tried opening the file with a different application? The open source Office suites, OpenOffice.org, LibreOffice and NeoOffice can also open .xlsx files. If they're unable to open this one, that would point toward the file itself being faulty. You can download these applications from their rspective websites, linked in the names above. All request a donation to support future development, but only Neo requires one to have been made recently, and that only for the current release (which won't be necessary to open .xlsx files).
    Regards,
    Barry

  • Component to URL link a word/excel/pdf document inside Page

    Hello Experts,
    I would really appreciate if somebody can answer if there are any standard component or functionality available to call a network URL link to a word/excel/pdf document inside a ABOUT tab page for the definition and screenshot of How-to and functionality of the dashboard.
    I am trying to avoid creating a custom component to use SAP UI5 HTML control to initialize a OLE object call to a given URL.
    Thanks
    Arun

    Well, Word and Excel documents are binary, so you will need a Binary LOB (BLOB).
    I have recently been storing/retrieving BLOBs through ASP/ADO . . .
    BLOBs are limited to 4GB, but ADO has a limit of 2GB. Hopefully, that will not be a problem.
    If you are using ODBC, then be aware that you need to enable LOBs by setting LOB=T in the connection string. If you are using ODBC with stored procedures, then there is a bug that causes the LOBs to be truncated to 32K, which is fixed in 9.2.0.6.5. A colleague tells me that the Microsoft ODBC Driver for Oracle works with LONGs but not with LOBs.
    If you are using OleDB with stored procedures, then you'll need to set the "SPPrmsLOB" property to TRUE.
    When uploading BLOBs through ADO, you need to set the parameter size to 1 higher than the actual size, otherwise you get an error.
    When retrieving the BLOBs through stored procedures as OUT parameters, you need to set the parameter size to larger than the BLOB, otherwise it gets truncated. I do not like having to specify 2GB for a file that might only be 32K, so I prefer to return a record set via a REF CURSOR.
    Tak

  • How to link a document in Framework

    In CWB Home Page there is ability to link to various URL.
    I know how to link to a Portal. But I need to link to a Document (Word or PPT) which is located in Shared Servers.
    If this is possible , How do I write the full Path which includes the document?

    Hi,
    I am not sure whether I understood your requirement clearly.
    If you just want to link a document to your service desk message, you can easily attach the document to the "attchmnt" tab of the "notif_create" transaction, if you are using "notif_create" to create your service desk message.
    (ii) If you are using "crm_dno_monitor" transaction, then you can upload the document in the "documents" tab of this transaction.
    (iii) But, if your requirement is that that you have to upload the document in the Solar01/Solar02 transaction and only have to link to your service desk message, then you can generate the URL of the uploaded document and attach it using the "My Network Places" button of the "Open File" dialog (that comes up by clicking the "export" button of the "attchmnt" tab of the "notif_create" transaction) and specifying the URL in the "File Name" field.
    (iv) If the requirement is the same as in (iii), but if you use "crm_dno_monitor" transaction, the same procedure can be followed in the "documents" tab of this transaction or else we can also use the "create URL" button of the documents tab.
    Hope you know the procedure for generating the URL of the uploaded document.
    Dont forget to reward for useful answers.
    Best regards,
    Alagammai.

  • CS3:How to link a file to a InDesign document?

    Hello all,<br /><br />I looked at in the LinkWatcher sample code to get an idea how to link a file to a document, I came up with the code below, the last line of code needs pageitemUID instead of pageUID which I  used it here:<br /><br />IDFile outFile = Utils<ImyUtils>()->getMyFile(); // it reads the file <br />InterfacePtr<IDataLinkHelper> dataLinkHelper(::CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)); <br />InterfacePtr<IDataLink>      dataLinkNew(dataLinkHelper->CreateDataLink(outFile)); <br /><br />IDocument* theFrontDoc = Utils<ILayoutUIUtils>()->GetFrontDocument();<br />IDataBase* database = ::GetDataBase(theFrontDoc); <br /><br />InterfacePtr<IDocument> piDoc(theFrontDoc, UseDefaultIID()); <br /><br />InterfacePtr<IPageList> pageList(piDoc, UseDefaultIID()); <br />     <br />UID pageUID(kInvalidUID);<br /><br />if (pageList->GetPageCount() >  0)<br /> {<br />     pageUID = pageList->GetNthPageUID(0);<br />}<br />// I try to link the file to the front document, although it say pageitemUID, as a second //parameter, but I don't want to link the file to a particular page item. is this a right thing to do?<br /><br />int32 result = dataLinkHelper->AddDataLink(database,pageUID, dataLinkNew); <br /><br />as I execute the code it doesn't add the file in  Link palette in CS3, but when I pass a UID of one page item such as text frame, it will add the name of file to link palette with a "1" comes to  end of row that shows how many times this file was included in the frame. but in case I have not a page item can I use the pageUID instead ?<br /><br />Thanks In Advance,<br />Mor

    Lee,
    Sorry I think I didn't use the right terminology, somehow I want to include/link the file (not with menu item 'place') programmatically in my current open Indesign document, then I expect to see the filename in Link palette. I can do this with linking to a page item in doc but I don't want to assign it to a particular page item, rather I want to assign it to doc. Is any approach to do it?
    Thanks again,
    Mor

  • In Pages 5.0.1. is there any way to link one pages document to another pages document.  If so, How?

    Is Pages 5.0.1 is there any way to link one Pages document to another Pages document?  If so, Please, How?

    Well, you could trade it in for a white one! 
    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."

Maybe you are looking for

  • Serial number not showing up in system profiler

    hi, i recently had a problem with my speakers in macbook. i sent it for service and the service center replaced my main board now the system profiler is not showing my serial number. do any one know how to fix this problem.

  • Cross Currency Issue

    Hi All, Please clarify about Cross Currency. We are maintaining following currencies Company code Currecny    AED Global Currency                 USD  Group Currency                 SAR Exchange Rates table has been maitained for AED (Company code) T

  • Problem with fetching table field

    Hi all, im explaining the problem, please provide me the query. i am having the follong tables 1)location table contains one PK(loc_id)and authorization field, etc. 2)accont table contain one FK(loc_id) and hrid , attuid fields etc 3)LINE table conta

  • Is "throws x,y,z" really necessary ?

    Hi, Why does Java force me to explicity state all of the exceptions a given method can throw with a "throws" clause?? Sure, it makes the method declaration "more complete" and helpful but from a time-management point of view it seems to be an unneces

  • Uanble to open the App server console after installing the Oracle soa suite

    Hello, after installing the oracle soa suite 10.3.1.0 we are unable to open the application server console. it gives "page not found" error. We have installed on a Win2000 server instance. We have selected all the default values while installing. any