Excel spreadsheet as a datasource?

Hello All,
Is it possible to set up excel as a datasource for liquid data? Are there any
docs on this?
thanks,
Pak

Hello Mike,
I am digging around on the same stuff and I feel a custom function is what I need
for use Excel as Data Source in Liquid Data. Can you please share your solution
(custom function) with me?
Thanks in advance,
Ashok Gupta
<mswizindia>at<yahoo>dot<com>
"Mike Reiche" <[email protected]> wrote:
>
I've written a custom function which accesses excel through JCOM. I'm
willing
to share.
- Mike
"Pak Wing" <[email protected]> wrote:
Hello All,
Is it possible to set up excel as a datasource for liquid data? Are
there any
docs on this?
thanks,
Pak

Similar Messages

  • CFQuery Excel Spreadsheet

    I have an excel spreadsheet I have set up
    an ODBC connection to for CF7.
    I want to do a generic query of the data for
    display....
    in SQL I can do...
    <cfquery..... >
    select * from table
    </cfquery>
    How do I connect and read the data in Excel? cfquery?
    Any help would be terrific....
    DixieGal

    First, i am required by law to say that you would be better
    off porting the excel sheet to Access or MS SQL.
    Anyway...
    (1) Set up the ODBC source from the windows control panel.
    (2) Set up the datasource in the Coldfusion administrator and
    make sure it verifies OK.
    (3) Then you can query the workbook like so:
    <CFQUERY name="qFoo"
    datasource="EXCEL_DATA_SOURCE_FROM_CF_ADMIN">
    SELECT
    FROM
    [Sheet1$]
    </CFQUERY>

  • How to generate an excel spreadsheet from an Oracle Application forms runni

    I need URGENT generate an Excel spreadsheet with rows and columns populated from a forms that is running on Oracle Application R11.5 and open this worksheet for the User save.
    I want to include a PL*SQL code on a button and this button to run the spreadsheet open save for the User.
    Sorry my poor English, thanks for the comprehension

    909356 wrote:
    I need URGENT generate an Excel spreadsheet with rows and columns populated from a forms that is running on Oracle Application R11.5 and open this worksheet for the User save.
    I want to include a PL*SQL code on a button and this button to run the spreadsheet open save for the User. This functionality is already available in the application (File > Export) and you do not need to write a code to do that.
    How To Export Form Data To a CSV Format File [ID 779079.1]
    How To Setup Action Export Functionality in Release 11i [ID 136074.1]
    Thanks,
    Hussein

  • How do I fill an Excel spreadsheet with the contents of a DataTable? (C#, OleDb)

    The following fills a DataTable with the contents of an Excel spreadsheet.
        oledbCmd.CommandText = "SELECT * FROM [" + stSheetName + "$]";
        DataTable dtDataTable = new DataTable();
        using (OleDbDataAdapter oledbAdapter = new OleDbDataAdapter(oledbCmd))
        oledbAdapter.Fill(dtDataTable);
    How do I fill an Excel spreadsheet with the contents of a DataTable?
    bhs67

    You can try this Excel library, it can help u to
    export datatable to excel to Database.
    After add the reference to your project ,add the following code:
    private void button1_Click(object sender, EventArgs e)
    //connect database
    OleDbConnection connection = new OleDbConnection();
    connection.ConnectionString @"Provider=""Microsoft.Jet.OLEDB.4.0"";Data Source=""demo.mdb"";User Id=;Password="
    OleDbCommand command = new OleDbCommand();
    command.CommandText = "select * from parts";
    DataSet dataSet = new System.Data.DataSet();
    OleDbDataAdapter dataAdapter = new OleDbDataAdapter(command.CommandText,connection);
    dataAdapter.Fill(dataSet);
    DataTable t = dataSet.Tables[0];
    //export datatable to excel
    Workbook book = new Workbook();
    Worksheet sheet = book.Worksheets[0];
    sheet.InsertDataTable(t, true, 1, 1);
    book.SaveToFile("insertTableToExcel.xls");
    System.Diagnostics.Process.Start("insertTableToExcel.xls");
    http://www.e-iceblue.com/Tutorials/Spire.XLS/Spire.XLS-Program-Guide/Data-Export-/Import-Export-Datatable-to-Excel-from-Database.html

  • Can't paste copied entries from online CSV file into Excel spreadsheet (chatted with zzxc on 5/3/10 at around 2.30 CST but got disconnected. did not get an answer ...)

    Here is the transcript of a chat with Firefox community member zzxcon May 3/10
    You are now chatting with Firefox community member zzxc
    zzxc: Hello
    zzxc: What happens when you attempt to download a .csv file?
    seegal: hello
    seegal: it doesn't copy
    zzxc: how are you trying to copy?
    seegal: pls bear with me I'm a slow typist. Just copy selected text
    Biolizard has joined the conversation.
    zzxc: ok - which text are you selecting?
    seegal: I reconcile my checkbook (spreadsheet this way). I copy the items in my online bank acc and paste it to the spreadsheet
    seegal: I'm using Firefox /2.0.0.19. Have no problem to do this.
    zzxc: Which version of OS X?
    seegal: In all newer version nothing happens when trying to paste- just doesn't paste
    zzxc: Firefox 2.0.0.x is no longer supported, and hasn't been supported in over a year
    zzxc: Paste into Excel, from Firefox?
    seegal: Sorry, I'm ahead... /2.0.0.19
    seegal: Yes. I open my bank acc in Firefox
    zzxc: Which version of Excel?
    zzxc: It would really help if you could tell me step by step what you're doing.
    seegal: First re: your previous question: it's OS 10.4.11
    seegal: About Excell: it'as 2004 version - the lasat one produced for Macs. The specific version is 11.3.7
    seegal: So I open my bank acc online in Firfox (my primary browser). I copy the latest entry in the account and paste it into my Excel spreadsheet.
    zzxc: so, you copy direct from the web page without downloading a CSV file?
    seegal: What do you mean by downloading to CSV file? I could export from the https://chat-support.mozilla.com:9091/webchat/getimage?image=sendmessage&workgroup=support%40workgroup.chat-support.mozilla.comFirefox to the CSV file, but the other way around?
    zzxc: Are you copying your bank statement directly from the web site to Excel using the clipboard?
    seegal: sI don't use the clipboard. This is a mac. There is no need to do that. In PC it would be yes.
    zzxc: I need to know the exact steps you're taking to get them into excel
    zzxc: And I need to know what exactly goes wrong in the latest version of Firefox.
    seegal: Do you have a mac there with Firefox and Excel? It would be very easy to reproduce. Imagine you open an online bank acc, select some entries , click "copy", than proceed to your already open Excel spreadsheet and click' paste". That's it!
    zzxc: When this happens, do you get cryptic code pasted into Excel?
    seegal: As I said before: in all newer versions starting with 3.0 when I go to Excel to "paste" from my bank acc nothing happens. It does not paste. No, I don't get a cryptic code pasted, just NOTHING.
    zzxc: what if you paste into MS Word instead?
    seegal: haven't tried that, the formatting most likely would be lost. Tried that with an other Exc el spreadsheet- it lost all the formating and pasted as continous text.
    == This happened ==
    Every time Firefox opened
    == Pls. see copy of the chat above. THIS A MAC OS X. In older versions, prior to 3.0 I could copy from CSV file on the website Ibank acc) and paste directly to my Excel spreadheet to reconcile my account.

    See also:
    Table2Clipboard: https://addons.mozilla.org/firefox/addon/1852
    TableTools: https://addons.mozilla.org/firefox/addon/2637

  • EXCEL spreadsheet with MACROS

    WILL NUMBERS 2009 SUPPORT AN EXCEL SPREADSHEET WITH EMBEDDED MACROS?

    Looks like Excel will get macros back. This is from Wikipedia:
    Microsoft has announced that the Mac OS X version will also be released in 2010. Microsoft Office 2011 for Mac will include more robust enterprise support and greater feature parity with the Windows edition. An all-new version of Outlook with full Exchange support will return to the Mac for the first time since 2001 and replace Entourage[47], and Visual Basic for Applications (VBA, aka "macro" support) will return after being dropped in Office 2008[48][49]. There is no public beta for the Mac version,[50] however, a copy of Beta 2 (Build 14.0.0.100326) has been circulated among many Mac file sharing websites. [51]

  • Excel spreadsheets with macro's

    Good day
    Excel spreadsheets with macro's created in Windows does not work on my Macbook (excel for mac 2011), even if I enable macro's. I do not create these spreadsheets myself. Cn anyone assist please? Thank you for your time.

    Hi,
    As far as I known, the macro/Active X control can be used well with both of the Office 2013 and Office 365.
    Would you like to share us a sample file that created in Office 2013? I'd like to test it. You can send it via Email ([email protected]).
    If you have any update, please feel free let us know.
    ===========
    Update:
    I have received your mail and
    attachment. Then, I tested it, I found the probably reason.
    You were using ActiveX controls in the sample file, and them displayed 4 tabs in Format control dialog box. Next, you created a new Form control, it displayed 7 tabs.
    You were using the two type of controls. ActiveX controls and Form controls
    are different.
    Form controls
    Form controls are the original controls that are compatible with earlier versions of Excel, starting with Excel version 5.0. Form controls are also designed for use on XLM macro sheets.
    ActiveX controls
    ActiveX controls can be used on worksheet forms, with or without the use of VBA code, and on VBA UserForms. In general, use ActiveX controls when you need more flexible design requirements than those provided by Form controls. ActiveX controls have extensive
    properties that you can use to customize their appearance, behavior, fonts, and other characteristics.
    For more detail information, please refer to the following link:
    https://support.office.microsoft.com/en-us/article/Overview-of-forms-form-controls-and-ActiveX-controls-on-a-worksheet-d101804a-0f84-43ad-8cb2-e19277b8e3fb?CorrelationId=0e7129b7-8ea2-458c-af14-a99292d300b9&ui=en-US&rs=en-US&ad=US
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Excel Spreadsheet as Data Source & Copying that Data to an Existing SharePoint List

    Hello,
    I have an Excel spreadsheet that I get daily and cut and paste into an existing SharePoint list. Is there a way to make that Excel spreadsheet a data source and copy the data to an existing SharePoint list with less manual involvement?
    Tools at my disposal include: SharePoint 2010 Designer, InfoPath, and Access.
    I thought there might be a REST method I could use via InfoPath but I'm not aware of any offhand.
    Goal is to have a method to upload/overwrite an Excel file (stored in a SharePoint library), every day, and then automate the process of copy it to a SharePoint list (actually overwriting the old data in the SharePoint list).
    Any help would be greatly appreciated.

    Hi,
    We can create a console application and use C# code to read the data from the Excel file and using SharePoint .Net Client Object Model to add the data into a SharePoint list, then create a windows job to execute the console application.
    The following articles for your reference:
    How to: Create a Console Application
    https://msdn.microsoft.com/en-us/library/office/ms438026(v=office.14).aspx
    C# How To Read .xlsx Excel File With 3 Lines of Code
    http://www.codeproject.com/Tips/801032/Csharp-How-To-Read-xlsx-Excel-File-With-Lines-of
    How to: Create, Update, and Delete List Items
    https://msdn.microsoft.com/en-us/library/office/ee539976%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Schedule a task
    http://windows.microsoft.com/en-au/windows/schedule-task#1TC=windows-7
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How do I show/refresh data from an Access Web App in an Excel spreadsheet saved in a Document Library on Sharepoint 2013 online

    I have an Access 2013 Web App in my Sharepoint 2013 online website. It contains a query to report on its data (several, actually, but let's keep it simple). I want to connect an Excel spreadsheet to the query, visualise the data in pivot tables/graphs/whatever,
    save the spreadsheet in a Document Library, and let other team site Sharepoint users open the spreadsheet (preferably in Excel online, but with Excel client if it has to be) and see/copy the data, refreshed with the latest information from the Access Web App.
    Simple, surely!
    The way I'm doing it at the moment is to create an ODC file to connect to the cloud-based Access 2013 database, save that ODC in a Data Connection Library in the SP site, and use the saved ODC file as data source in the Excel spreadsheet. This works and
    successfully keeps everything 'in the cloud' but I can't get it to refresh in Excel Online, and if I open the spreadsheet in Excel Client I have to enter the database password every time to refresh it. I don't really want to issue this password to everyone
    who might want to view the data. There must be a better way than this ODC method, I suspect.
    Googlings on this have led down various blind alleys - Excel Services, PowerPivots, Web Parts - but I'm stuck on which to follow through. Please, someone, point me to an article/book/website that explains how to do this step-by-step in simple language..
    thanks
    Jonathan

    I don't see any quick way of achieving it - at least there's no such functionality exists in SharePoint. All you can do, develop an event receiver that will update the fields in the list item once the excel file is added/updated. You can use OpenXml API
    to manipulate the excel file.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • How to view excel spreadsheet in java

    Hello
    Is there a way to open an excel spreadsheet in java? I don't mean reading and writing from an excel file, but instead embedding excel in java. For example instead of launching excel using the Desktop class and opening a new excel window, Java would open an instance of excel and add it to Jframe or Jpanel. Sort of like what Eclipse does when you Open a file with In_Place Editor. Google returns results on how to use some windows dll file and using active x control or whatnot.. Was wondering if there is a better and simpler way..
    Thank you.

    oplead wrote:
    Hello
    Is there a way to open an excel spreadsheet in java? I don't mean reading and writing from an excel file, but instead embedding excel in java.Ah yes, "embed" is the word you want as your google keyword, not "open". My first try with "embed excel in Java" returned as the first link a page from a company named JIntegra for which this seems to be their main business. Here's the link I found, just for information:
    [http://j-integra.intrinsyc.com/support/kb/Article.aspx?id=30421|http://j-integra.intrinsyc.com/support/kb/Article.aspx?id=30421]

  • When I convert my excel spreadsheet to pdf objects like graphs move down in the page!

    Hi everyone I am very new to this! Please help!
    I was working with someone who has been migrated to Office 2007.  If we create an Excel Spreadsheet and convert it to Pdf all is well. When we do the same with his old files the graphs move to the bottom of the pdf page and any text boxes will change font and the graphs will over run the text. We saved the files as .Xlsm and tried again but to no avail.
    Can some one please help?

    You posted your question to the forum comments forum. This forum is for questions about these forums, not for questions about other Adobe products.
    I am not sure which product you are having a problem with (Acrobat to convert to PDF? Reader to read the PDF? Or the builtin PDF capability of MS Office?), but if it is an Adobe product you can find the appropriate forum from the list of all forums.

  • Help with exporting an excel spreadsheet to sharepoint

    I've downloaded the 'Synchronising with sharepoint lists' add-in and have linked my spreadsheet to a sharepoint list, where any changes made to the spreadsheet then updates the sharepoint list. This spreadsheet is full of formulas but as soon as I click
    'synchronise with sharepoint' all of the formulas in my spreadsheet vanish. There are also no formulas in the sharepoint list but I'm not really bothered about having working formulas in my sharepoint list because I will be updating that list through my formula
    filled and rather complicated spreadsheet.
    So is there a way that I can synchronise my spreadsheet to sharepoint and keep my formulas in my excel spreadsheet? 

    Hi Sarah,
    It is difficult to answer your question without any knowledge of the calculations in your Excel spreadsheets. Not all calculations that work on your desktop excel application will work on SharePoint Excel services which is why some of your formulas are getting
    extracted.
    For more information about Excel Services in SharePoint you can refer to
    http://msdn.microsoft.com/en-us/library/office/ms517343%28v=office.14%29.aspx
    Daniel Christian (MCTS)

  • IMporting Excel Spreadsheets

    Hello
    We recently upgraded RH in our company from x5 to HTML 6,
    build 099. In a project I worked on with X5, I had imported Excel
    spreadsheets saved as html and generated a primary layout without
    any problem. However, in 6, when I would generate a layout, it
    would get to Updating Files and RH would crash without any error. I
    narrowed it down to 10 html files that were all Excel spreadsheets
    saved as html and imported into my project in x5. If I deleted
    those 10 files, the project would generate the layout. If I
    imported any of those files, it would crash again.
    To recreate the spreadsheets in RH wold just be too time
    consuming, and really inefficient as I expect to get regular
    updates on these spreadsheets to have available on this website via
    our intranet. Has anyone encountered this before? and
    recommendations?
    Thanks!

    Hi BradPrid and welcome to our community
    Did these spreadsheet files have any conditional text
    applied? If so, I believe a problem exists with merged table cells
    (which seem quite likely coming from Excel) when you use
    conditional text.
    If you can't seem to sort it, one thought would be to simply
    import the Excel HTML files as baggage files. Then simply link to
    them or maybe use redirects.
    Cheers... Rick

  • C# Script to open and read an Excel spreadsheet with multiple worksheets

    Can someone provide me the C# syntax and Edit Script to open an Excel spreadsheet with multiple worksheets and then using the data to create and output a .csv file? The multiple worksheets contain different data elements that I'll need to parse out and then
    store as a .csv file that will then be read to pump data into our SQL Server Database.
    Thanks for your review and am hopeful for a reply.
    PSULionRP

    I think this code originally came from Joel, who comes here quite a bit.  I'm not a C# expert, like Joe is, but I think this is pretty close to what you want.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using Excel = Microsoft.Office.Interop.Excel;
    using Microsoft.Office.Interop.Excel;
    using System.IO;
    namespace WindowsFormsApplication2
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Main();
    public void Main()
    string filePath = "C:\\Users\\Ryan\\Desktop\\MainExcel.xlsx";
    Microsoft.Office.Interop.Excel.Application xlobj = new Microsoft.Office.Interop.Excel.Application();
    Workbook w = default(Workbook);
    Workbook w1 = default(Workbook);
    Worksheet s = default(Worksheet);
    Worksheet s1 = default(Worksheet);
    Worksheet xlsht = default(Worksheet);
    xlobj.Visible = true;
    int intItem = 1;
    DirectoryInfo dirSrc = new DirectoryInfo(@"C:\Users\Ryan\Desktop\Test_Folder\");
    foreach (FileInfo ChildFile in dirSrc.GetFiles())
    try
    // Renaming the excel sheet
    w = xlobj.Workbooks._Open(ChildFile.FullName,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing);
    w1 = xlobj.Workbooks._Open(filePath,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing);
    //this doesn't make any sense
    //w1 = xlobj.Workbooks.Open(filePath);
    //if (intItem > 3)
    Excel.Worksheet lastSht =
    (Excel.Worksheet)w1.Worksheets[w1.Worksheets.Count];
    xlsht = (Excel.Worksheet)w1.Worksheets.Add(Type.Missing,
    lastSht,
    Type.Missing, Type.Missing);
    s = (Excel.Worksheet)w.Worksheets[1];
    s1 = (Excel.Worksheet)w1.Worksheets[intItem];
    s1.Name = ChildFile.Name;
    // it will copy and paste sheet from one to another with formula
    s.UsedRange.Copy(Type.Missing);
    Excel.Range r = s1.get_Range("A1", Type.Missing);
    r.PasteSpecial(Excel.XlPasteType.xlPasteValues,
    Excel.XlPasteSpecialOperation.xlPasteSpecialOperationNone,
    Type.Missing, Type.Missing);
    s1.UsedRange.Formula = s.UsedRange.Formula;
    // Renaming the excel sheet
    //w.Save();
    w.Close(false, Type.Missing, Type.Missing);
    w1.Close(false, Type.Missing, Type.Missing);
    catch (Exception ex)
    //w.Save();
    w1.Save();
    w.Close(false, Type.Missing, Type.Missing);
    w1.Close(false, Type.Missing, Type.Missing);
    intItem = intItem + 1;
    //Dts.TaskResult = ScriptResults.Success
    Do you need help getting everything into a CSV, or can you take it from here???
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Automatically open excel spreadsheets with numbers

    can anyone tell me is it possible to set numbers as the default application to ALWAYS open excel spreadsheets? each time i try to open an excel spreadsheet the computer starts up the trial office software. I then have to cancel and choose "open with" and then set "always open with" numbers.
    Having just converted from Windows, I was able to set certain programs to always handle specific file formats, e.g. .jpg, mpeg, avi so I did not have to choose the program every single time i wanted to open a file.
    thx., same goes for pages ,in lieu of word?

    Select an Excel file and option-select (Right Mouse Button) and select Get "Info". See attachment below to set "Open With."
    Regards,

Maybe you are looking for

  • Loss of keyboard

    Hi! I have been experiencing something quite annoying on my MBP. I sometimes loose the keyboard. I have to put the machine back to sleep and wake it back up to get the keyboard back (pressing the CAPS-LOCK key does not even raise the green led when t

  • Wrong server name in URL

    Hello all, We implemented synchronization of activities between CRM and MS exchange using groupware adapter. During the implimentation the CRM system had to be moved to a different server with a different name. The implimentation works fine on the ne

  • Help Imovie import flips frames

    Hi I'm trying to create one video out of several sent to me by friends. In 2 cases out of 10 the video I have been sent are fine when I open them in QuickTime, they play fine and the rotation of the images is correct. Once I import them into iMovie t

  • Importing from a peripheral

    I am unable to import .avi and .mov files from a peripheral into iMovie'08 - the files are greyed out and will not let me either import or drag and drop. Does anyone have any suggestions? My thanks in advance.

  • X240 not pxe booting

    I have recently got in the new Lenovo X240 series Thinkpad and I am unable to get it to pxe boot so I can load a Windows 7 Enterprise x64 image.  I am using SCCM 2007 for the imaging process and it is set up on Windows 2003 server.  I have changed th