Building Excel 2007 Add-on using Java

Hello
I'm looking to build a Add-on in Excel using Java Language?
Is that attainable? could further guidance be provided
Thanks

kash85 wrote:
Apologies requirements have changed.
Can I run a piece of VB code in Excel attached to Macro button in Excel that launches a Java Application.
Can you run a piece of VB code in Excel attached to Macro button in Excel that launches an Application?
Notice that that question has nothing at all to do with java.
If the answer is yes, then if follows that because java is "an Application" that you can then run it.

Similar Messages

  • Getting "Couldnot find Installable ISAM" error in script task in SSIS 2005 when trying to open (.xlsx files) Excel 2007-2010 files using VB script in Visual Studio 2005

    Hi Experts,
    I am trying to open .xlsx file in script task of SSIS 2005. I am using the 32-bit AccessDatabaseEngine driver with the Connection string as "Provider= Microsoft.ACE.OLEDB.12.0; Data Source=xlsx file path; Extended Properties="Excel 12.0 Xml;
    HDR=YES"" in script task.
    When we debug the VB script in Visual Studio 2005 and encounters the statement app.open() it throws the error "Couldn't find installable ISAM".
    My SQL server version is 2005 SP2 DE
    OS is Windows server 2003 EE SP2
    Could anyone please let me know what is the resolution for this error?
    Thanks and Regards,
    Adesh

    Hi Adesh,
    First, make sure the package runs in 32-bit runtime mode (set Run64BitRuntime property to False) because you are using the 32-bit ACE OLE DB Provider. If it is not the case, the issue may occur due to the corrupted drivers or registry keys. You can try to
    reinstall the 2007 Office System Driver: Data Connectivity Components as Arthur suggested.
    Regards,
    Mike Yin
    TechNet Community Support

  • How to  build a  Calculator in WAB Template  by using  Java Script......

    Hi ,
    I am  trying   to build a dynamic  calculator in WAD which is as  similar to one in Executive view in Cognos. The  problem i am  facing  is,  i can  able to build a normal  calculator  by using  java script  but  i am  unable  to read the  key figure  values from  the  analysis  item  on from the  data  provider  in to  by  calculator  by using  on click  function. I wanted  to get the all  the  values in to a internal excel , so  that  my calculator can read the  values from  that. can  any  one  help  me  on getting  values in to internal excel by using   java before the  executing the  web template ?...
    Thanks in advance....
    Jhon.
    Edited by: sap bw on Jul 31, 2008 5:51 PM
    Edited by: sap bw on Jul 31, 2008 5:52 PM

    I might not be understanding your question completely since you mention WAD and then Excel, but if you are asking how to get the key figure values using Javascript in WAD, you can go to the Dataprovider properties and enable 'Output Result Data'.  This will embed an XML element into the HTML output that you can then parse using standard Javascript DOM navigation.
    Hope this helps.

  • Add-In tab is Missing in Microsoft Excel 2007

    Hi All,
    I have successfully installed and configured the Hyperion Essbase and Planning [11.1.2].I'm able to work with Essbase Administration Service Console and Planning.
    If i open the Microsoft Excel 2007, Add-In tab is Missing in that. With the help of that Add-In only,We can do the Essbase related calculations.
    More than that I have installed and configured the Essbase Spreadsheet Add-In and Essbase Client.
    Kindly guide me how to overcome this issue.
    Thanks And Regards
    ChiDam

    Hi Sundeep,
    Thanks for your reply. I followed your guidelines [The location of essexcln.xll file : *C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseServer-32\bin*].
    While i opening the Microsoft Excel, I get the following Error,
    *"The file you are trying to open 'essexcln.xll' is in a different format than specified by the file extension.Verify that the file is not corrupted and is from a trusted source before opening the file.Do you want to open the file now?"*
    I Proceed YES to open the Excel File, now also I didnt get the Essbase Add-Ins instead I'm getting Encrypted datas in spreadsheet.
    Kindly guide me to overcome this issue
    Thanks And Regards
    ChiDam

  • Why ribbon XML does not work in Excel 2007?

    I installed 4 VSTO Excel add-ins on an Excel 2007 PC today. The two that use a visual designer ribbon worked fine. But the 2 that use a Ribbon (XML) did not. The add-in starts ok. But the ribbon does not show. Why would that be?
    I wrote two more add-ins to demonstrate the problem. One puts an OK button on the ribbon using the visual designer. That add-in installs on the excel  2007 PC and works as it should. But the 2nd, an add-in that uses Ribbon (XML) to put a button on the
    ribbon, does not work.  The add-in does not display on the ribbon.
    Here is the code of the Ribbon (XML) add-in project.  How to get a ribbon (XML) ribbon to display in excel 2007?
    thanks,
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Xml.Linq;
    using Excel = Microsoft.Office.Interop.Excel;
    using Office = Microsoft.Office.Core;
    using Microsoft.Office.Tools.Excel;
    namespace ExcelAddIn4
    public partial class ThisAddIn
    private void ThisAddIn_Startup(object sender, System.EventArgs e)
    private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
    protected override Office.IRibbonExtensibility CreateRibbonExtensibilityObject()
    return new Ribbon1();
    #region VSTO generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InternalStartup()
    this.Startup += new System.EventHandler(ThisAddIn_Startup);
    this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);
    #endregion
    <?xml version="1.0" encoding="UTF-8"?>
    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
    <ribbon>
    <tabs>
    <tab idMso="TabAddIns">
    <group id="ContentGroup" label="Content">
    <button id="Button1" label="ok" screentip="Text"
    onAction="Button_OnAction" supertip="Inserts text at the cursor location"/>
    </group>
    </tab>
    </tabs>
    </ribbon>
    </customUI>
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using System.Reflection;
    using System.Runtime.InteropServices;
    using System.Text;
    using System.Windows.Forms;
    using Office = Microsoft.Office.Core;
    // TODO: Follow these steps to enable the Ribbon (XML) item:
    // 1: Copy the following code block into the ThisAddin, ThisWorkbook, or ThisDocument class.
    // protected override Microsoft.Office.Core.IRibbonExtensibility CreateRibbonExtensibilityObject()
    // return new Ribbon1();
    // 2. Create callback methods in the "Ribbon Callbacks" region of this class to handle user
    // actions, such as clicking a button. Note: if you have exported this Ribbon from the Ribbon designer,
    // move your code from the event handlers to the callback methods and modify the code to work with the
    // Ribbon extensibility (RibbonX) programming model.
    // 3. Assign attributes to the control tags in the Ribbon XML file to identify the appropriate callback methods in your code.
    // For more information, see the Ribbon XML documentation in the Visual Studio Tools for Office Help.
    namespace ExcelAddIn4
    [ComVisible(true)]
    public class Ribbon1 : Office.IRibbonExtensibility
    private Office.IRibbonUI ribbon;
    public Ribbon1()
    public void Button_OnAction(Office.IRibbonControl control)
    MessageBox.Show("Button_OnAction");
    #region IRibbonExtensibility Members
    public string GetCustomUI(string ribbonID)
    return GetResourceText("ExcelAddIn4.Ribbon1.xml");
    #endregion
    #region Ribbon Callbacks
    //Create callback methods here. For more information about adding callback methods, visit http://go.microsoft.com/fwlink/?LinkID=271226
    public void Ribbon_Load(Office.IRibbonUI ribbonUI)
    this.ribbon = ribbonUI;
    #endregion
    #region Helpers
    private static string GetResourceText(string resourceName)
    Assembly asm = Assembly.GetExecutingAssembly();
    string[] resourceNames = asm.GetManifestResourceNames();
    for (int i = 0; i < resourceNames.Length; ++i)
    if (string.Compare(resourceName, resourceNames[i], StringComparison.OrdinalIgnoreCase) == 0)
    using (StreamReader resourceReader = new StreamReader(asm.GetManifestResourceStream(resourceNames[i])))
    if (resourceReader != null)
    return resourceReader.ReadToEnd();
    return null;
    #endregion

    Hello Steve,
    Most probably you have got an error in the ribbon XML markup. See
    How to: Show Add-in User Interface Errors for more information.
    I have noticed the following xml namespace:
    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
    Use the following one instead:
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
    Also make sure that specified idMso values exist in Office 2007.
    You can read more about the Fluent UI (aka Ribbon UI) in the following series of articles in MSDN:
    1.
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
    2.
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
    3.
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

  • BPC 7 : Excel 2003 and Excel 2007 Conflict

    Hi Experts,
                   I have created a template in BPC 7 MS on my computer which has Excel 2003 version.
    But when I try that template on another computer which has Excel 2007. The format (in the format Range) did'nt seem to work or it has diff effect on Excel 2007.
                   Is there really a conflict between them?? and cannot have different Microsoft Office version??  Or is there An Add-on that we have to Install so that Excel 2003 and Excel 2007 can be used at the same Time??
    Thanks,
    Bennie Jay

    Sorin:
    Situation
    I also have the same issue with Excel formatting in Excel 2007, and I found a work-around specifically to my issue.
    At the format section's CRITERIA, I have one entry: HEADING="New Budget" in the Column direction, apply certain color and number format to the cells of that column. However, I used Excel function CONCATENATE("HEADING=",EVDES("FINANCE",CATEGORY)) to come out with HEADING="New Budget", rather than just typing the string value.
    With the above exercise, in Excel 2003 the format would apply no problem, but in Excel 2007, the entire formatting went wild and broke. After I dropped CONCATENATE() and just typed in HEADING="New Budget", the formatting applied OK in 2007.
    Data
    We are currently on BPC 5.1 SP5
    The original report was built in Excel 2003
    Question
    Is there a setting in Excel that would allow me or bypass the restriction to use Excel functions to come out with CRITERIA definition?

  • Smartview 11.1 - Excel 2007

    Hi
    We have just upgraded from Excel 2003 to Excel 2007, and are using Smartview 11.1 and HFM 9.3.1.
    When refreshing on the Excel 2003 files it is extremely slow, are there any changes that are to be made?
    Regards

    In Excel 2007 the workbook calculation is set to Automatic by default.
    Go to Excel Options | Formulas. Change Workbook Calculation to Manual and see if that improves the performance.

  • ALV to EXCEL-2007 issue

    We are in the midst of changing over from Excel 2003 to Excel 2007.
    We are seeing an issue in Excel 2007 with the use of the Microsoft Excel View option from the ALV output.
    When the Excel view comes up, the Send button is grayed out. The users have to save the file to their PC and then re-open it before they can e-mail it. The Send button works for those that are still using Excel 2003.
    If they use List-Export-Spreadsheet-Table-Microsoft Excel the Send button is there, but not all of our ALV report have this as an option.
    Are there any thoughts on how to activate the Send button when using the Microsoft Excel View?

    Before contacting OSS, search for notes. there are a number related to Excel 2007.
    Rob

  • How to develop e-commerce using java

    Can you please give me the source code for building e-commerce/web site using java?

    no, he wants the sourcecode of something that will
    let him build e-commerce sites.
    Something like one of those "create an online shopin
    5 minutes" packages you can buy from some stores.and he wants to use java. so the problem comes down
    to:
    java BuildMyECommerceSite <sitename>OH why didn't he say so ??
    Does he want the included tv advertising campaign ? ;-)

  • Resources for implementing HTTP web server using java

    hi ,
    Thanks for giving your precious time in reading the message.I want to build a HTTP web server using java,which will run on my machine and I can communicate with it through web browser(IE) using HTTP requests and response.
    I know java language, but quite new to network programming.I want to gain enough knowledge on network programming in java.Can you please suggest me good books or any other resources available on the internet for the required subject.Any help will be greatly appreciated.
    my email-id is : [email protected]

    hi there my friend,
    I am writing my own web server too. in w3c there is a sample web server called jigsaw-open source :) and simple-
    I do think it worth trying.
    you can contact me if you want to share some source and info. cause I will.
    [email protected]
    but within 2 weeks I will be back for studying for my web server. you have to wait for a while.

  • Getting Sql Exception while using JDBC/ODBC to Excel 2007 through Java

    Iam getting the SQLexception by trying to connect using JDBC/ODBC to Excel 2007 through Java. Any Guys can tell abt this problem. java.sql.SQLException: [Microsoft][ODBC Excel Driver] External table is not in the expected format.
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at InteractWithExcel.main(InteractWithExcel.java:13)

    From [Google Groups|http://groups.google.co.uk/group/sybase.public.powerbuilder.general/browse_frm/thread/97fbab02a5e6d45b]
    To use Excel as a datasource, you need to defined a named range in the spreadsheet, with the first row containing the column names.

  • Known issues for OBIEE Office Add in with Excel 2007?

    Hi,
    Does anybody know if there are issues for the office add-in with Office 2007?
    i'm playing around a little bit to see how it works, but it seems that Excel interferes with the layout.
    I do get different grafs and also i tried the tutorial with the excel template and my changes come only partly through.
    Thanks
    Sandra

    Hi Sandra,
    Were you able to use OBIEE Office Add in with Excel 2007? I am planning to look at this compatibility. I am looking here to seeif anyone found issues with this setup..
    Thanks,
    Bharat

  • Error when using BeX Analyzer 7.0 with Excel 2007

    When i try to execute a query in BeX analyzer 7.0 and my microsoft excel version is 2007, there will always have a fatal error showing. However, when i use the Bex Analyzer 3.5 , i could execute the query.
    Anyway to solve this problem?

    You need to do the following
    Identify the SAP GUI version you're using, 6.40 or 7.10, and the patch level.
    Identify the BW or BI Add-on and patch level of it.
    From there, check to see if the versions you have actually support BI 7.0 and Excel 2007.  Reliable Excel 2007 support requires failry current patch levels of both the SAP GUI and the corresponding BW/BW Add-ons.. 
    Do you have access to a PC that has a more recent version of the SAP GUI and BW/ BI Add-on?  If so, try using that PC and see if you still have the problem.

  • How to build a small application using Java API

    Hai expertise,
         I want to retreive MDM repository info using JAVA API, i am following these blogs:
    /people/andreas.seifried/blog/2006/03/26/performing-free-form-searches-with-mdm-java-api
    /people/udi.katz/blog/2005/08/21/retrieving-data-from-mdm-server-using-the-mdm-java-api
    /people/udi.katz/blog/2005/07/17/mdm-connectivity-to-java-application
    <b>where to get the jar and sda files to build the application??
    In Developer Studio.. Windows -> Preferences -> Java -> Classpath variables. Is this the only place where we need to give the jar file path??
    Are there any other configurations to do(except setting container variable to MDM4J jar file) to connect my java application to MDM repository???</b>
    Regards,
    Chand.

    Hi Govada,
    (1)You need to add the MDM4j and other JAR files at:-
    right click on project -> Java Build Path -> Libraries -> Add External JARs
    (2)If the project is Web Dynpro project one
    then right click on project -> Web Dynpro Reference -> Library Reference -> and add sap.com/com.sap.mdm.tech.mdm4j
    Are you using JAVA API 1 or 2???
    Thanking you
    Namrata Dixit

  • Building customize component using java API

    Hi,
    Appreciate for hepls... being trying this for few days...:(
    I am trying to build a customize component to use in a process using adobe java API. I follow the document and include all the necessary lib files. It compiled with no errors. And I pack it into JAR file and deploy to the workbench, no error. Then I call the customized component method and it throw the error as below, is merely cause by "Caused by: java.lang.NoClassDefFoundError: com.adobe.idp.taskmanager.dsc.client.TaskManagerClientFactory
    ". Portion of my code is as follow.
    What did I miss out? I include the libs file as stated in the document. Do I need to specify the class-path in a manifest file? How? It is not mentioned in the document. Is the "adobe-taskmanager-client-sdk.jar" pack in one of the ear or war file in the App server's (I'm using websphere) installedApp directory?
    Really appreciate for help... Is there any documents describing the deployment details. The sdk document is not very detail...
    === portion of the code ===
    Properties ConnectionProps = new Properties();
    ConnectionProps.setProperty("DSC_DEFAULT_EJB_ENDPOINT", "iiop://localhost:2809");
    ConnectionProps.setProperty("DSC_TRANSPORT_PROTOCOL","EJB");
    ConnectionProps.setProperty("DSC_SERVER_TYPE", "WebSphere");
    ConnectionProps.setProperty("DSC_CREDENTIAL_USERNAME", "administrator");
    ConnectionProps.setProperty("DSC_CREDENTIAL_PASSWORD", "password");
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
    TaskManagerQueryService queryProcess = TaskManagerClientFactory.getQueryManager(myFactory);
    ======Error message=====
    ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:210)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:336)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doSupports(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:88)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:88)
    at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 0)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:553)
    at com.adobe.workflo

    Thanks WorkflowUser,
    I manage to solve the NoClassDefFound problem in any other way. Will try your method.
    What I do is I add the adobe-taskmanager-client-sdk.jar file to my customize component jar file (at root). And I add the classpath tag for the adobe-taskmanager-client-sdk.jar to the component.xml file. But when the customise component is run at a process. Another problem occured. I got an exception "com.adobe.idp.taskmanager.dsc.client.query.TaskRowImpl incompatible with com.adobe.idp.taskmanager.dsc.client.query.TaskRow".
    It is cause by the following code,
    TaskManager myTaskManager = TaskManagerClientFactory.getTaskManager(myFactory);
    TaskFilter filter = queryProcess.newTaskFilter();
    StatusFilter sf = filter.newStatusFilter();
    sf.addStatus(StatusFilter.completed);
    filter.setStatusFiltering(sf);
    List result = queryProcess.taskList(filter);
    Iterator iter = result.iterator();
    int i = 0 ;
    while (iter.hasNext()) {
    TaskRow myTask = (TaskRow)iter.next(); //CAUSE BY THIS!!!
    long taskId = myTask.getTaskId();
    I try using this: TaskRowImpl myTask = (TaskRowImpl)iter.next();
    also give exception error. Does it have to do with the compilation, the java version. My websphere is runing 1.5, and I compile using the same version... Any ideal? Thanks...

Maybe you are looking for

  • How to fetch Properties of all Survey Lists from site collection using Java Script in SharePoint 2013

    Hi, I am trying to fetch properties of all lists of "Survey Type" from my site collection in SharePoint 2013 using script editor web part. I am able to fetch properties of one list by mentioning its name explicitly in code but not all survey list. My

  • Duplicated Restricted Key Figures?

    My queries for the Sales Overview Cube (0SD_C03) have "duplicated" Restricted Key Figures. Neither myself nor my query designer has created them. Example: Z0COST_1 Z0COST_2 Z0COST_3 Z0COST_4 Has anyone else encountered this problem? Thanks in advance

  • QUICKTIME 7 and KODAK EASYSHARE CAMERA - Incompatibility

    Hi, newbie so sorry if already covered this. My KODAK camera (V610) plays .mov files perfectly on quicktime 6 that came with the camera. I had to install Quicktime 7 to get my IPOD to work and now the .mov files dont play (get sound but no picture).

  • Quicktime in Yosemite not showing chapter marks?

    Hi, If I open my video (made in Final Cut Pro X), I don't see chapter marks in Yosemite using Quicktime. If I open the same file in Quicktime on my Pc, chapter marks are showing perfectly. If I open then video in VLC, chapter marks are shown perfectl

  • Getting pics from iphoto to pc

    I bought the connector that makes it possible to put pictures directly on my ipod from my camera. Now I can't get them onto my PC. Please help!