Launching a Excel file

I have a excel file (data.xls). On the click of a button, I need to display this file to the user. How do I launch (open) the excel file from a Java application ?

A search of the forum for the work "launch" returns 332 previous posts, many of which are this FAQ.

Similar Messages

  • How do I create a selector within Xcelsius that launches an excel file or a pdf?

    We are using Crystal Xcelsius 4.5 and would like to have a radio button on the portal that launches an excel or pdf file. How do I create that button.

    I have 2 URL Link components one for a PDF and one for a Excel Sheet. The PDF works fine when you click the button. But when I click the Excel Link button, it opens a new window and right away i get ACTION CANCELED, if i Refresh it opens, but i would like to open it on the first click.
    Anybody experienced this and was able to fix it?
    You help is appreciated.
    Thanks.

  • Can't open my Excel file in Excel 2013

    Hi there. I've just been working with an Excel sheet and saved it, and now I can open it again. It's stuck on 10%. I've reinstalled the whole Office package (Office Home & Student 2013) but that doesn't change anything. Also not the DDE
    check/uncheck makes any difference. How can I make it work so I'm able to open my sheet?

    Hi,
    Is this an issue with this specific Excel worksheet, or any Excel files in your computer? Are you able to start Excel application directly (without launching any Excel files)?
    If you can start the application, please try to open the file from FILE>Open>Computer and verify result.
    If it's only an issue with this specific worksheet, you might need to check and see if you have any macro, VBA code in this sheet which might fail to load.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • FileVault + USB Flash drive = can't open excel files

    I can't open files in Excel that are stored on flash drives (I have several flash drives with the same files) in my account that has FileVault enabled.
    The files open just fine when copied to the Desktop.
    Same flash drive, same computer, same Excel, different user (no FileVault), no problem.

    I don't think it was FileVault per se. I managed to recreate the issue in a user account not protected by FileVault.
    I have my drive partitioned, and one of the partitions is named "Fun". If I then connect another disk named "Fun" (or a disk image with that name) and then try to launch an Excel file from that other disk I get the error.
    The problem seems to be in the way Excel is resolving the paths of files it's opening. You can use this Apple Script to see what I mean:
    tell application "Finder"
    return name of every disk
    end tell
    When run this will show you the names of every disk mounted. When I run it I see the following:
    {"Backups", "Fun", "Fun", "Workdrive", "work"}
    You can see there that I have two disks named fun. When excel tries to open a file called "test.xlsx" on my external disk named "Fun", it uses the path "fun:test.xlsx". This path causes confusion because there are two disks with the same name. I suspect it's more a problem with how Excel identifies files and volumes. Other applications (including older versions of Excel) must be doing it differently.

  • Opening an excel file on server side using servlets

    hi, am having a small problem for launching an excel file. Standalone,
    i use
    Desktop.getDesktop().open( new File("C:/test.xls") );
    and it works fine but when using servlets via tomcat, it does not launch. Any idea?
    actually am using ajax to allow a user to remotely launch an excel
    file (the excel file contains a macro which will generate and save a
    chart as image) on the server.

    Do you realize that this will only open that Excel file at the Server machine, not at the Client machine? If you're testing (read: acting as Client) at the same machine as where the Server runs, then you will see the result of Desktop#open(). But if you're testing at a different machine (read: as in the real world) than where the Server runs, then you won't see the result of Desktop#open(), because this is executed at the Server machine itself, not at the Client machine.

  • Task scheduler calling a mapped network drive - excel file

    Server 2008 R2 Standard
    User contacted me indicating that a task that is scheduled to run on their server is not working properly.  Supposedly it has run in the past.
    Under the User account on the server they have a mapped drive K: that maps to
    \\server\directory, it is a persistent map.
    They stayed logged into the RDP session and just X out and leave it running.
    The XML of the job is below but the basics are they are calling an excel spreadsheet configured with a Macro from the mapped drive.
    The job is set to run whether user is logged on or not and run with highest privildeges.
    The job action is to run the excel file through the mapping so Action: Start Program Details:  "K:\SQM....name.xls"
    WE ARE GETTING ERROR:  The system cannot find the path specified (0x80070003)
    I'm being told can't run through UNC path as the marco writes alot of information to the K drive?
    Ideas?
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Date>2012-09-27T08:52:37.7381237</Date>
        <Author>domain\username </Author>
        <Description>Scheduled Daily SQM job 4 pm daily</Description>
      </RegistrationInfo>
      <Triggers>
        <CalendarTrigger>
          <StartBoundary>2012-09-27T16:00:00</StartBoundary>
          <ExecutionTimeLimit>PT20M</ExecutionTimeLimit>
          <Enabled>true</Enabled>
          <ScheduleByWeek>
            <DaysOfWeek>
              <Monday />
              <Tuesday />
              <Wednesday />
              <Thursday />
              <Friday />
            </DaysOfWeek>
            <WeeksInterval>1</WeeksInterval>
          </ScheduleByWeek>
        </CalendarTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>domain\user </UserId>
          <LogonType>Password</LogonType>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>false</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>true</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>false</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>PT20M</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>"K:\SQM Public\Job Launch Scripts\AutoLaunch ScheduledSQMs400PM.xls"</Command>
        </Exec>
      </Actions>
    </Task>

    @Feng - the drive mapping is accessible via Explorer and am able to go to go to UNC path from start menu. From both methods I can double click on the .xls and launch the excel file with the macro.
    @MyousufAli - The user account is part of the local Administrator group, the Run with highest privledges is check, the user who is set with permission on the Task has effective permissions of Full Control down the directory structure that is K. Also I'm
    logged into the server where the task is run as the said user when I did the checking for @Feng.
    Additional info
    When I launch the task I get 6 events
    1) 110 - task triggered
    2) 319 - task engine received...
    3) 200 - action started
    4) 203 Action failed to start
    5)  103 - action start failed
    for # 4 I get Task Scheduler failed to launch action "K:\SQM Public\Job Launch Scripts\AutoLaunch ScheduledSQMs400PM.xls" in instance "{a2f44145-0506-475d-91c0-c0915d460d95}" of task "\SQM 400pm Daily". Additional Data: Error Value: 2147942403.
    for #5 I get Task Scheduler failed to start instance "{a2f44145-0506-475d-91c0-c0915d460d95}" of "\SQM 400pm Daily"  task for user "domain name\user" . Additional Data: Error Value: 2147942403.

  • How can i print an Excel file when in the full screen mode (no print options on toolbar or right clk

    using Vista, sometimes after creating and saving an excel file, the document is not visible when the file is reopened.
    selecting full screen mode makes the document visible, but the toolbars disappear and the print option does not show up on a right click.  How can i print the document and see the document in some other mode than full screen?

    In order to print, you can click the CTRL+P keys to launch the print dialog,
    Regarding the missing toolbar, try clicking the ALT key to shouw the software menu, then look around under the view option for any available toolbar settings,
    If you cannot find it, i would recommend you to try the Microsoft support forums, as they have some more knowledge with their software features
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • After upgrade to 10.9.1 office for mac 2011 will not open most excel files.

    After upgrade to 10.9.1 office for mac will not open most excel files. The files will open in open office. I have tried re-saving as excel file, no joy.
    I have repaired permissions, no joy.
    below are the results of EtreCheck scan.
    Hardware Information:
              MacBook Pro (13-inch, Early 2011)
              MacBook Pro - model: MacBookPro8,1
              1 2.3 GHz Intel Core i5 CPU: 2 cores
              8 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 512 MB
    System Software:
              OS X 10.9.1 (13B42) - Uptime: 5 days 3:45:14
    Disk Information:
              Hitachi HTS545032B9A302 disk0 : (320.07 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 319.21 GB (64.84 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              OPTIARC DVD RW AD-5970H 
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Computer, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              org.virtualbox.kext.VBoxDrv          (4.1.2)
              org.virtualbox.kext.VBoxUSB          (4.1.2)
              com.logmein.driver.LogMeInSoundDriver          (1.0.3 - SDK 10.5)
    Startup Items:
              VirtualBox: Path: /Library/StartupItems/VirtualBox
    Launch Daemons:
              [System] com.adobe.fpsaud.plist 3rd-Party support link
              [System] com.logmein.logmeinblanker.plist 3rd-Party support link
              [System] com.logmein.logmeinserver.plist 3rd-Party support link
              [System] com.logmein.raupdate.plist 3rd-Party support link
              [System] com.microsoft.office.licensing.helper.plist 3rd-Party support link
              [System] com.oracle.java.Helper-Tool.plist 3rd-Party support link
              [System] com.sharpcast.xfsmond.plist 3rd-Party support link
              [System] com.teamviewer.teamviewer_service.plist 3rd-Party support link
              [System] com.zeobit.MacKeeper.AntiVirus.plist 3rd-Party support link
              [System] org.macosforge.xquartz.privileged_startx.plist 3rd-Party support link
    Launch Agents:
              [System] com.logmein.LMILaunchAgentFixer.plist 3rd-Party support link
              [System] com.logmein.logmeingui.plist 3rd-Party support link
              [System] com.logmein.logmeinguiagent.plist 3rd-Party support link
              [System] com.logmein.logmeinguiagentatlogin.plist 3rd-Party support link
              [System] com.oracle.java.Java-Updater.plist 3rd-Party support link
              [System] com.teamviewer.teamviewer.plist 3rd-Party support link
              [System] com.teamviewer.teamviewer_desktop.plist 3rd-Party support link
              [System] org.macosforge.xquartz.startx.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] .dat0157.000 (hidden)/Users/fboyd3/Library/Application Support/Spotify/SpotifyWebHelper
              [not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded] com.google.keystone.agent.plist 3rd-Party support link
              [not loaded] com.microsoft.LaunchAgent.SyncServicesAgent.plist 3rd-Party support link
              [not loaded] com.spotify.webhelper.plist 3rd-Party support link
              [not loaded] com.zeobit.MacKeeper.Helper.plist 3rd-Party support link
              [not loaded] org.virtualbox.vboxwebsrv.plist 3rd-Party support link
    User Login Items:
              iTunesHelper
              GrowlHelperApp
              Alarm Clock
              Canon IJ Network Scanner Selector2
              Microsoft Database Daemon
              SugarSync Manager
              Neat
              LogMeIn
              Dropbox
              Spotify
              Spotify
              AdobeResourceSynchronizer
    Internet Plug-ins:
              LogMeInSafari64: Version: 1.0.730 3rd-Party support link
              OVSHelper: Version: 1.0 3rd-Party support link
              Default Browser: Version: 537 - SDK 10.9
              Flip4Mac WMV Plugin: Version: 3.0.0.126   - SDK 10.8 3rd-Party support link
              AmazonMP3DownloaderPlugin101750: Version: AmazonMP3DownloaderPlugin 1.0.17 - SDK 10.4 3rd-Party support link
              AdobePDFViewerNPAPI: Version: 11.0.03 - SDK 10.6 3rd-Party support link
              FlashPlayer-10.6: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
              DivXBrowserPlugin: Version: 2.1 3rd-Party support link
              LogMeIn: Version: 1.0.730 3rd-Party support link
              Flash Player: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
              iPhotoPhotocast: Version: 7.0 - SDK 10.8
              LogMeInSafari32: Version: 1.0.730 3rd-Party support link
              QuickTime Plugin: Version: 7.7.3
              AdobePDFViewer: Version: 11.0.03 - SDK 10.6 3rd-Party support link
              SharePointBrowserPlugin: Version: 14.3.4 - SDK 10.6 3rd-Party support link
              Silverlight: Version: 5.1.20125.0 - SDK 10.6 3rd-Party support link
              EPPEX Plugin: Version: 3.0.0.0 3rd-Party support link
              WidevineMediaTransformer: Version: (null) 3rd-Party support link
              JavaAppletPlugin: Version: Java 7 Update 25 Outdated! Update
    Safari Extensions:
              DivX Plus Web Player HTML5 <video>: Version: 2.1.0.900
              Open in Internet Explorer: Version: 1.0
              ClickToPlugin: Version: 2.5.3
              DivX HiQ: Version: 2.1.0.900
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              Move-Media-Player: Version: npmnqmp 071705000010 3rd-Party support link
              WebEx64: Version: 1.0 - SDK 10.6 3rd-Party support link
    3rd Party Preference Panes:
              DivX  3rd-Party support link
              Flash Player  3rd-Party support link
              Flip4Mac WMV  3rd-Party support link
              Growl  3rd-Party support link
              Java  3rd-Party support link
    Old Applications:
              Microsoft Language Register:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        /Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
              /Users/[redacted]/Library/Application Support/WebEx Folder/1326
                        Cisco WebEx Event Center:          Version: 1304.07.2811.0 - SDK 10.5 3rd-Party support link
                        convertpdf:          Version: 1.2 - SDK 10.5 3rd-Party support link
                        asannotation2:          Version: 1206.25.2804.0 - SDK 10.5 3rd-Party support link
              Neat ADF Scanner 2008 10_5:          Version: 1.0.0.15 - SDK 10.5 3rd-Party support link
                        /Library/Image Capture/Devices/Neat ADF Scanner 2008 10_5.app
              SLLauncher:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
              /Users/[redacted]/Library/Application Support/WebEx Folder/1324
                        convertpdf:          Version: 1.2 - SDK 10.5 3rd-Party support link
                        Cisco WebEx Meeting Center:          Version: 1304.23.2811.0 - SDK 10.5 3rd-Party support link
                        asannotation2:          Version: 1206.25.2804.0 - SDK 10.5 3rd-Party support link
                        atmsupload:          Version: 1209.12.2806.0 - SDK 10.5 3rd-Party support link
              Amazon MP3 Downloader:          Version: INFO_PLIST_VERSION - SDK 10.4 3rd-Party support link
              /Applications/Microsoft Office 2011
                        Microsoft PowerPoint:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Excel:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Outlook:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Word:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Document Connection:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
              Solver:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
              /Applications/Microsoft Office 2011/Office
                        Microsoft Graph:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Database Utility:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Office Reminders:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Upload Center:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        My Day:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        SyncServicesAgent:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Open XML for Excel:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Alerts Daemon:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Database Daemon:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Chart Converter:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Clip Gallery:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
              /Applications/iWork '09
              Microsoft AutoUpdate:          Version: 2.3.6 - SDK 10.4 3rd-Party support link
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
              /Library/Application Support/Microsoft/MERP2.0
                        Microsoft Error Reporting:          Version: 2.2.9 - SDK 10.4 3rd-Party support link
                        Microsoft Ship Asserts:          Version: 1.1.4 - SDK 10.4 3rd-Party support link
              /Users/[redacted]/Downloads
                        Install Spotify 7:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 3:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 2:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 4:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 5:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 6:          Version: 1.0 - SDK 10.5 3rd-Party support link
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                  97%          Microsoft Outlook
                  16%          Google Chrome
                   5%          WindowServer
                   3%          Finder
                   2%          EtreCheck
    Top Processes by Memory:
              180 MB          Finder
              164 MB          soffice
              156 MB          mds_stores
              147 MB          Google Chrome
              131 MB          Numbers
    Virtual Memory Information:
              928 MB          Free RAM
              2.59 GB          Active RAM
              1.22 GB          Inactive RAM
              1.57 GB          Wired RAM
              31.52 GB          Page-ins
              1.33 GB          Page-outs

    Follow these instructions to uninstall MacKeeper. They have been tested with the most recent version of MacKeeper (v 2.8). Earlier versions than the one released in 2012 require more extensive work to uninstall all its components.
    The effects of having actually used MacKeeper to do anything are a completely different matter. The fastest way to take an exquisitely designed and painstakingly engineered Mac and make it run like a steaming pile of dung is to install and use such ill-conceived "cleaning" or "security" products. This is just one example of a broad category of time- and money-wasters capable of causing damage that can only be rectified by reinstalling OS X, restoring from a backup, or completely erasing your system and rebuilding it from the ground up. Never install such junk on a Mac.
    If you used MacKeeper to encrypt any files or folders, use MacKeeper to un-encrypt them first.
    Quit the MacKeeper app if it is running.
    Open your Applications folder: Using the Finder's Go menu, select Applications.
    Drag the MacKeeper icon from your Applications folder (not the Dock) to the Trash.
    You will be asked to authenticate (twice):
    You do not need to provide a reason for uninstalling it:
    Just click the Uninstall MacKeeper button. You will be asked to authenticate again.
    After it uninstalls you may empty the Trash and restart your Mac. All that will remain is an inert log file that does nothing but occupy space on your hard disk.

  • Script to open excel files take info and put into new document

    Hi All
    I am new to applescript, but looking through the forums it seems to be the solution to my problem.
    I have large numbers of excel files on a pc server which i want to open, take approx 8 cells of information from each and place into a new excel doc, forming a list. I want this if possible to happen automatically, so if a new excel document is placed into a folder on the server, the relavent information is added to my list.
    I have looked at automator but dont think it works with excel yet, and the programming in excel is too much for me.
    I posted a query here in my previous job for a script of change all "/" symbols to "-" symbols, which worked very well and i hope someone more gifted can help with my new query.
    Hope i have given enough info and that someone can help
    thanks

    Supplied below is a, quick and dirty (minimal error handling), working self contained (applet) example:
    on run {}
    display dialog "Drag files onto applet for processing."
    end run
    on open (dragged_Items)
    try
    tell application "Microsoft Excel" -- Launch 'Excel' to process '.xls' files
    set tList to {} -- Create an empty list.
    repeat with i in dragged_Items -- Cycle through each dragged '.xls' file.
    open i -- Open each file.
    repeat with j from 1 to 8 -- Cycle through the eight column values of a single row.
    copy (value of cell j of row 3) to end of tList -- Obtain individul cells' value and place into 'tList'.
    end repeat
    end repeat
    repeat until (documents is {}) -- Routine to close all opened '.xls' windows. Here, 'close windows' does not work.
    close windows
    end repeat
    if (not (document 1 exists)) then make new document -- Create a new document, if needed.
    set k to 0 -- Location (position) of a 'tList' item.
    repeat with i from 1 to (count dragged_Items) -- Set row value, of where to ener column values.
    repeat with j from 1 to 8 -- Set cells' column value.
    set k to k + 1 -- Increment 'tList' location.
    set (value of cell j of row i) to (item k of tList) -- Enter value into current rows' columns' cell from 'tList'.
    end repeat
    end repeat
    activate -- Bring window to foreground.
    end tell
    end try
    end open
    Save the AppleScript code as an applet (application).
    Drag the desired files onto the applet for processing.
    The above AppleScript code obtains the cell values of columns A through H of row 3 of each '.xls' file.
    To automatically process the files of a specific folder - utilize the provided code, with respective modifications, within a
    'on adding folder items to this_folder after receiving these_items
    end adding folder items to
    ... AppleScript - 'Folder Action'.

  • "Open method of Workbooks class failed" when opening Excel file via Internet Explorer

    (apologies, I posted this first to the general Office 2010 forum, but then realized this was probably a better spot to post)
    We have an Excel COM add-in installed on users' PCs.  This add-in responds to workbook open events by opening a particular XLA file (also deployed to the PC) to make certain features available.  This process works flawlessly when Excel files are
    opened locally - but when a user attempts to open an Excel file from an IE link, we get the following error: "Open method of Workbooks class failed".  This is happening on the line that is trying to open the XLA file.  This only happens
    when launching an Excel link from IE - works fine in Chrome or Firefox.
    I have found several posts on this topic, but no solutions:
    1. This post (https://social.msdn.microsoft.com/forums/office/en-US/73c96005-84af-4648-b103-32b677205be3/open-method-of-workbooks-class-failed)
    is the closest to our problem.  In this case, the "answer" was that the user may not have access to the 2nd workbook being opened.  But in our case, we're opening an XLA that is on the local machine, and I've confirmed that it is not
    corrupt and accessible (read & write, just in case!) to Everyone.
    2. This (very old) post (http://www.pcreview.co.uk/forums/open-method-workbooks-fails-excel-hosted-ie-t965608.html)
    seems similar, but is talking about opening Excel inside of IE.  This is not what we're doing - the link is supposed to (and does) open Excel outside of IE.  Interestingly, Excel.exe is being launched with the "-embedded" flag, even
    though it isn't running in the IE window.  When launching Excel by opening the file locally, Excel.exe is run with the "/dde" flag instead.  Clearly the "-embedded" mode is what is causing the problem.  I could change the
    links on the web page to use some JavaScript to open Excel differently... unfortunately, the links are actually generated by SharePoint (the Excel files are in a SP repository), so this is not really an option.
    3. This Microsoft KB article (http://support.microsoft.com/kb/268016) talks about problems opening an XLA directly from IE... but this is the case of a link pointing
    directly to an XLA file, not opening a regular workbook that in turn opens an XLA, as is my case.  In fact, this article specifically points out in the "More Information" section that "End users do not normally open XLAs; instead they open
    an XLS that (if needed) loads one or more XLAs during startup." ==> precisely what I'm trying to do that is giving me the error!
    I've replicated the situation with a very simple COM add-in (created in VS2010 using VB.Net) and a very simple XLA file (does nothing, just pops up a message in auto_open).  For anyone wanting to try it out, here is the exact test case:
    1. In Excel, create a simple XLA file containing only the following code, and save it in C:\TEMP\dummy.xla:
    Sub Auto_Open()
    MsgBox "Auto Open fired"
    End Sub
    2. In Visual Studio, create a new Excel 2010 Add-In.  I created mine via Visual Basic, but I doubt the choice of language matters.  Place the following code in ThisAddin.vb:
    Public Class ThisAddIn
    Private Sub ThisAddIn_Startup(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Startup
    AddHandler Me.Application.WorkbookOpen, AddressOf Application_WorkbookOpen
    End Sub
    Private Sub ThisAddIn_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
    End Sub
    Sub Application_WorkbookOpen(ByVal workbook As Excel.Workbook)
    On Error GoTo ErrHandler
    If (Not workbook.Name.Contains("dummy.xla")) Then
    MsgBox("Workbook open")
    Application.Workbooks.Open("C:\temp\dummy.xla")
    Application.Workbooks("dummy.xla").RunAutoMacros(Excel.XlRunAutoMacro.xlAutoOpen)
    End If
    Exit Sub
    ErrHandler:
    MsgBox(Err.Description)
    End Sub
    End Class
    3. Build & publish this add-in and install it on the same machine as the XLA created in step 1.
    4. Create and save an empty Excel workbook (I called mine WayneTest1.xlsx) - save it locally (on your desktop), and put a copy somewhere on your web server (I put mine directly in c:\inetpub).
    5. Create an HTML file with a link to that workbook, saving it to the same web server location - here is mine:
    <html>
    <body>
    <a href="WayneTest1.xlsx">Link to Excel file</a>
    </body>
    </html>
    6. Double click the workbook on your desktop (from step 4) - opens fine, I get the "workbook open" message, following by the "Auto Open fired" message.
    7. In Internet Explorer, navigate to the HTML file specified in step 5 and click on the link - when prompted, select "Open" - I get the "workbook open" message, following by the error message "Open method of Workbooks class failed".
    Here are a few things I've ruled out / tried so far:
    - Unchecked all the "Protected View" settings in Excel, made no difference
    - Unchecked all the "File block settings" in Excel, made no difference
    - Made sure dummy.xla was open for read & write to Everyone
    - Made sure the web page was in Trusted sites and set the security level to Low for those sites in IE
    - Tried making the local desktop file (step 6) readonly, made no difference (i.e. launching it locally still worked fine)
    - Tried using Excel 2013 - made no difference
    Any ideas / suggestions?

    Hello Wayne,
    Apologies for the delay.
    I went through your post and tried to reproduce the issue. I was able to reproduce it. Based
    on its complexity and as it requires more in-depth analysis, your question falls into the paid support category which requires a more in-depth level of support.
    Please visit the below link to see the various paid support options that are
    available to better meet your needs. http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Thanks,
    Anush

  • It is possible to get data from Excel file and put them in BusinessObject Entreprise?

    Hi everybody,
    How i can get the information (data table) from a excel file?
    I just want to open a file excel in BusinessObject Entreprise XI. It is possible?
    Thanks

    What is BI launch pad?
    BI platform includes BI launch pad, a web application that acts as a window to business information
    about your company. In BI launch pad, you can perform the following tasks:
    • Access Crystal reports, Web Intelligence documents, and other objects and organize them to suit
    your needs
    • View information in a web browser, export it to other business applications (such as Microsoft Excel
    and SAP StreamWork), and save it to a specified location
    9 2012-03-14
    Getting Started
    • Use analytic tools to explore the business information in detail
    The features of BI launch pad vary by content type, and various applications are available in BI launch
    pad, if you have the appropriate licenses. For information about the features in your BI platform
    deployment, contact your system administrator.
    plz download this file and u can get you answer
    http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCMQFjAA&url=http%3A%2F%2Fhelp.sap.…

  • Exporting data from Oracle to an existing Excel file

    Hi,
    I want to know if it is possible to open up an excel file on the server (with the necessary lay-out) and to write the query results in it?
    Another remark: the file needs to be saved under a different name (we use the user name as part of the files since the file will be sent through email rather than be displayed on the user's screen)

    If you are satisfied with a straight dump, you might want to use utl_file to make a standard CSV-file.
    If you need a little more control of the layout, you might want to check out the SYLK file format (quite ancient)
    These require no Excel application and works on UNIX servers too. If you really have to have the full magic (on a Win32 platform) you could try using Jacob or some other Java-COM-bridge to launch the Excel-application and enter the values into the worksheet but this falls into the "duct tape and chewing gum"-category of stability in my opinion...

  • Open excel files in multiple instances

    When ever i open the excel files it opens as different windows of the same instance . Is there any way to open in multiple instances of excel ...  I saw some answes in forums which says about about unchecking 'Ignore other application that use DDE'
    .. once i set that the excel file doesnot open again giving an error "there was a problem sending the command" ....
    Could some one help me on this .. this is pretty urgent for me ...  i am using this in my vb.net project with process.start(file)  ...
    i dont think i want to create an excel application and open the file in the code as i may not be able to release the com objects properly in my fuinctionality .... 

    Try this one:
    1. To begin, we go to the registry. Click START, and in the RUN command line type REGEDIT and hit ENTER or click OK. This will start the registry editor.
    2. Navigate to the following key: HKEY_CLASSES_ROOT\Excel.Sheet.8\Shell\Open\Command
    3. Double click on the (Default) instance over to the right. Right now this probably says something like:
    If you have Office 2007 installed:
    C:\Program Files\Microsoft Office\Office12\EXCEL.EXE /dde
    Or, if you have Office 2010 installed
    C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /dde
    Change this value to:
    C:\Program Files\Microsoft Office\Office12\EXCEL.EXE /e "%1"
    for Office 2007 and for Office 2010 change it to:
    C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /e "%1"
    4. Navigate to the following key: HKEY_CLASSES_ROOT\Excel.Sheet.12\Shell\Open\Command
    Again, double click the (Default) entry to the right and change
    C:\Program Files\Microsoft Office\Office12\EXCEL.EXE /dde
    to
    C:\Program Files\Microsoft Office\Office12\EXCEL.EXE /e "%1"
    When you exit the registry this should be all you need to do. Each time you double click on your Excel shortcut or type excel.exe in the command line a new instance of Excel is launched with the default spreadsheet.
    Quote from:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2011/09/06/opening-excel-in-multiple-instances.aspx
    Max Meng
    TechNet Community Support

  • How to save Android contacts as Excel file on Mac computer?

    I want to manage and edit my contacts on my cell phone, my friend suggested me save them as Excel format! So now i am trying this way, but i can't find the right method to do this! Do you know how to save Android contacts as Excel file on Mac computer?

    If you want to save Android Phone contacts to Excel format, you can have a try the following method:
    Step 1. Connect Your Android Phone to Computer
    After downloading and installing the Coolmuster Android Assistant software on your computer, launch it and you will get the program interface prompts you to connect your phone to the computer. Just use a USB cable to connect your phone to the computer and the program will detect the connected phone automatically. If it is the first time to run this software, you may encounter the following picture and be required to enable USB debugging on your phone at first. If your device can be detected by the program, you can directly skip to the next step.
    Step 2: Go to the Contacts windows
    All your phone data are categorized on the top menu. To transfer Android phone's contacts, you can go to click the "Contacts" icon to enter the Contacts window. Navigate to the left panel and click on the "All Contacts" option, then, all the contacts in your phone will show in list on the right window. Mark the contacts you want to backup on your computer and click the button of "Backup".
    Step 3. Start to export contacts to computer at once
    Once you click on the "Backup" button, there will be a "Path" dialog appears, asking you to choose an output location where you want to save the exported contacts. Specify an output folder and then click the "Ok" button. Then, all your phone contacts will be exported to the output location immediately, with all the email address, company's name, home address, and more contacts info perfectly kept in the output CSV or XLS file.

  • Opening Excel file in HTML

    Hi All,
    Does anyone know how to launch Excel file in HTML or jsp?
    Wait...i know one method to open Excel fiel using
    Window.open(blah...blah..)
    In this case we can specify toolbar option..
    But in my application i am loading excel file in frame.But frame doesnt have any option to set toolbar.....
    Please let me know if you have soln for this....
    Regards,
    Surya

    Hi,
    I can open excel file using window.open...but my requirement is forcing me to open it in frame....And i m able to open it properly in frame...but i want toolbar to come along with that frame...
    according to folowing lin they say it is not possible have scenario like this...
    http://support.microsoft.com/kb/157353/EN-US/
    Please see whether you can help in this regard...

Maybe you are looking for

  • Location services is stopped working after upgrading to iOS 5

    Hi, Location services is not working after upgrading to iOS 5. How can i switch it on?

  • Need F4 Help for custom container element based on partner type

    Hi Friends I am displaying customer details in custom container .In that custom container I have a field Partner number,Partner type etc etc.. I included F4 help for partner number field, In that I referenced the following field.Now its coming perfec

  • Running the Swing or AWT code in the UNIX

    I have developed the code to modify the XML attribute values using Java. Those attribute values are accepted from the GUI which i have designed using swings as well as AWT. The code is perfectly working in the DOS/Windows environment. The applet/Disp

  • Oracle BPEL invoking Windows Communication Foundation Services

    Im right now studing the next generation of Microsoft technologies for SOA and WebServices. I correctly developed my first WCF service and was trying to invoke it using BPEL, but its not possible to do it. Anyone knows how to invoke a WCF service in

  • Basic access authentication

    Hello, I'm trying to use a webview to display a web site using Basic access authentication. I've downloaded the samples. With SwingInterop_browser.jnlp a popup ask the username/password and everything is working fine With SwingInterop.jar i get an 40