Opening Excel XLS files in Numbers

I have Mac OS 10.6.2 on my MacBook using Numbers '09.
A windows excel pc user sent a xls file.
When I try to open this file on my MacBook with Numbers is get message
"The document is encrypted and can’t be opened."
The windows user says the file is not locked/protected/encrypted ...
I have opened other xls files ok.

I never got this behaviour (but my correspondants know that I hate …Soft products).
Maybe it's that the file was built by a recent version of XL which is not deciphered by Numbers.
Yvan KOENIG (VALLAURIS, France) lundi 28 décembre 2009 18:41:11

Similar Messages

  • I'm one of the few idiots in the world who use the "Pages" App. Whenever I open an XLS file. "Numbers" quits - siting use of SFCompatability plugin. Reports to Mac. Problem remains constant?

    I'm one of the few idiots in the world who use the "Pages" App. Whenever I open an XLS file. "Numbers" quits - siting use of SFCompatability plugin. Reports to Mac. Problem remains constant?

    When you get the SF Compatibility plug in message something in the installed iWork part is corrupt. You ned to uninstall and install iWork again
    You cannot completely delete iWork by moving the iWork '09 folder to the Trash. Instead, use Yvan Koenig's script:
              •          Go to http://www.box.com/s/00qnssoyeq2xvc22ra4k
              •          Choose public_YK > for_iWork'09 > other_iWork'09 items
              •          Click on uninstall iWork '09.zip, decompress it, open it in AppleScript Editor and click the Run button
    Restart the computer and install from the iWork disc. Do the Software updates too.

  • Opening an xls file in Numbers

    Numbers does not properly open an XLSX file but MS Excel for Mac does. I can, however, open the file with Preview and it displays properly. The problem appears to just in formatting the colums as the data appears as dates instead of numbers.

    The first colum "Date" is okay but all other data should be just numbers
    Kenneth Clunisr
    Measurements from:
    19/04/12
    to:
    25/04/12
    DATE
    SYS
    DIA
    BPM
    Manual entry
    2012-04-19 22:11
    5/25/1900 12:00:00 AM
    3/19/1900 12:00:00 AM
    3/20/1900 12:00:00 AM
    2012-04-20 07:04
    5/28/1900 12:00:00 AM
    3/30/1900 12:00:00 AM
    3/10/1900 12:00:00 AM
    2012-04-20 15:31
    4/25/1900 12:00:00 AM
    2/26/1900 12:00:00 AM
    3/9/1900 12:00:00 AM
    2012-04-20 22:19
    4/22/1900 12:00:00 AM
    3/2/1900 12:00:00 AM
    3/12/1900 12:00:00 AM
    2012-04-21 07:26
    5/11/1900 12:00:00 AM
    3/11/1900 12:00:00 AM
    3/1/1900 12:00:00 AM
    2012-04-21 15:05
    4/26/1900 12:00:00 AM
    3/6/1900 12:00:00 AM
    3/8/1900 12:00:00 AM
    2012-04-21 22:14
    5/5/1900 12:00:00 AM
    3/6/1900 12:00:00 AM
    3/2/1900 12:00:00 AM
    2012-04-22 06:31
    5/27/1900 12:00:00 AM
    3/16/1900 12:00:00 AM
    3/1/1900 12:00:00 AM
    2012-04-22 06:36
    5/31/1900 12:00:00 AM
    3/20/1900 12:00:00 AM
    3/4/1900 12:00:00 AM
    2012-04-22 16:19
    5/16/1900 12:00:00 AM
    3/12/1900 12:00:00 AM
    3/5/1900 12:00:00 AM
    2012-04-22 21:12
    5/2/1900 12:00:00 AM
    3/5/1900 12:00:00 AM
    3/7/1900 12:00:00 AM
    2012-04-23 06:29
    6/9/1900 12:00:00 AM
    3/23/1900 12:00:00 AM
    3/4/1900 12:00:00 AM
    2012-04-23 13:23
    5/21/1900 12:00:00 AM
    3/7/1900 12:00:00 AM
    3/8/1900 12:00:00 AM
    2012-04-23 21:31
    6/8/1900 12:00:00 AM
    3/20/1900 12:00:00 AM
    3/7/1900 12:00:00 AM
    2012-04-24 06:05
    6/27/1900 12:00:00 AM
    4/14/1900 12:00:00 AM
    3/9/1900 12:00:00 AM
    2012-04-24 07:44
    6/18/1900 12:00:00 AM
    3/30/1900 12:00:00 AM
    3/8/1900 12:00:00 AM
    2012-04-24 07:46
    6/18/1900 12:00:00 AM
    3/24/1900 12:00:00 AM
    3/6/1900 12:00:00 AM
    2012-04-24 07:48
    6/8/1900 12:00:00 AM
    3/22/1900 12:00:00 AM
    3/6/1900 12:00:00 AM
    2012-04-24 10:06
    6/5/1900 12:00:00 AM
    3/23/1900 12:00:00 AM
    3/7/1900 12:00:00 AM
    2012-04-24 10:35
    6/15/1900 12:00:00 AM
    3/28/1900 12:00:00 AM
    3/11/1900 12:00:00 AM
    2012-04-24 21:21
    6/4/1900 12:00:00 AM
    3/22/1900 12:00:00 AM
    3/7/1900 12:00:00 AM
    2012-04-25 06:44
    6/20/1900 12:00:00 AM
    3/25/1900 12:00:00 AM
    3/6/1900 12:00:00 AM

  • .xls files in Numbers printing Landscape, can't get Portrait

    I searched and found one similar post with no resolution:
    I open an .xls file with numbers, the inspector(sheet inspector) shows I have it as portrait, but when I select "print" and the print dialog appears, it shows the .xls file on a landscape background and prints it as such.
    In that print dialog, there is nowhere for me to select portrait.
    It's obviously a little frustrating, as the spreadsheet does not fit correctly. I'm trying to avoid having to save as a different file type.
    This is an excel file from my PC that is now on my MAC. It did print portrait on the PC.
    Does anyone know what to do?
    Thx

    Thanks for the help all,
    It appears that the print area is removed when opening the file with Numbers and because of some empty cells and the print sequence being left to right then down, and left to right, this was causing it to print in landscape regardless of the settings for the document.
    I appreciate you posting the image of where the orientation is at the bottom when in print view, which I've found is the same setting found in the sheet inspector.
    The extra cells I mentioned showed as additional sheets, which once deleted, solved my problem.
    Thanks again!

  • Open xls files in numbers

    When I get an attachment in my email .xls I cannot open it on my email nor with numbers.  .xlsx is to a problem.   How do I resolve this?

    Hi - thank you for your responses.  I don't have an iPad so testing is all being done on site.
    The report is based on three tabs, each producing a basic table with data in.  I can create the reports in CSV and they work fine although the format is all wrong (no tabs etc etc) - but that would lead me to believe that it is nothing in the actual data which is causing the load error.  It also seems fairly intermittent, so I tested with a few different file sizes to make sure it wasn't this - and again nothing too conclusive there.
    I presume quicklook is the built in function to view a file, I spotted this today but again it won't open in that or then again when asked to open in Numbers.
    Hunting around this forum it seems there is some issue in general with opening some XLS files (especially ones created by SSRS) depending on iOS version, so that is the route I will be looking at tomorrow.  Putting these files through a save loop in excel isn't really an option, so I am going to test with a go between e-mail tomorrow which has in some cases seemed to do the trick - maybe appending something to the original file.  Some other posts have suggested that an XLSX file seems to work a lot better and that is supported in MS SQL 2012 which is on the way for our customers at some point.
    Definitely an awkward one!
    Thanks,
    Pete

  • Can't open .xls file in numbers '09

    Please help, I just purchased iwork '09 and installed recently.  I'm using Mac OS X 10.6.8, numbers '09 version 2.0, pages '09 version 4.0.  When I try to open an .xls file the error is given 'Numbers quit unexpectedly while using the SFCompatibility plug-in.'
    I saw a post from 2010 that suggested updating iwork '09 to numbers 2.0.3 and pages 4.0.3 but when I check for software updates it gives none for iwork.  I have not changed the original location or name of the folder/file of where the iwork files were installed automatically. 
    I've also deleted the com.apple.iwork.numbers.plist (& the Pages one) located in HD > Users > (your account) > Library > Preferences that was also suggested from this post from 2010. 
    Thanks!

    The latest version of Numbers is 2.3, but that is for Lion & Mountain Lion. For Snow Leopard you should have Numbers 2.0.4. iWork '09 installed from the retail disk or from the downloaded trial must be updated through Software Update. Those installations will not be recognized as installed by the Mac App Store.
    But, as always, if you're not running the latest versions of the iWork apps installed from a retail box or the downloaded trial & Software Update says your software is up to date, make sure all three of the iWork '09 applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. If you installed from the downloaded trial or the retail box, they must be in the iWork '09 folder in Applications. That iWork folder must be named iWork '09. If it doesn't have the '09 Software Update won't find them & the updaters won't work.

  • Problem opening .doc files in pages/.xls files in numbers...

    My hard drive recently failed and has been replaced.  Since the new hard drive was installed, I am unable to open .doc files with pages or .xls files with numbers.  I never had this problem before.

    I have I-work 09 [Pages 4.0 (727)]
    This is the same version I had before (I think) -- At the Apple Store they used a new I-Work disc to install it onto the new hard drive.
    I hope someone can help with this!
    Thank you!

  • AppleScript open and save file with Numbers

    Hi all,
    I need to save an Excel .xls file as an .xls file in order to break the links that are included in the original Excel file. Since Numbers doesn't have any actions for Automator, I hoped someone could help me writing an AppleScript?
    It needs to open (Numbers) and all the .xls files that are added to a specific folder on my Mac, then save them to another folder as .xls (not .xlsx) and overwrite any existing files with same name. Since this all should work automatically, warnings and pop-ups that need a user to click an option are not allowed.
    Didn't think this could be too hard, but I'm just a noob when it comes to AppleScript. Help?
    Thanks in advance

    Check the attributes of the <textarea> tag. You can use wrap="no" or wrap="virtual" or wrap="hard" to define how the text area handles carriage returns.
    Brian

  • Opening an .xls file and writing data to it....

    Hi ,
    I have written the following simple routine... which is supposed to open a .xls file and some data are written...:
    DECLARE
    application ole2.obj_type;
    workbooks ole2.obj_type;
    workbook ole2.obj_type;
    worksheet ole2.obj_type;
    worksheets ole2.obj_type;
    cell ole2.obj_type;
    --Declare handles to OLE argument lists
    args ole2.list_type;
    BEGIN
    application:=OLE2.CREATE_OBJ('Excel.Application');
    OLE2.Set_Property(application,'Visible', 'True');
    workbooks := ole2.get_obj_property(application, 'Workbooks');
    workbook:=OLE2.INVOKE_OBJ(workbooks,'Add');
    args:= ole2.create_arglist;
    ole2.add_arg(args, 'c:\example.XLS');
    workbook := ole2.invoke_obj(workbook, 'Open', args);
    ole2.destroy_arglist(args);
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 1); 
    OLE2.ADD_ARG(args, 1);
    cell:=OLE2.Invoke_Obj(workbooks, 'Cells', args); 
    OLE2.DESTROY_ARGLIST(args);
    OLE2.Set_Property(cell, 'Value', 'Excel');
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 0);
    OLE2.INVOKE(workbook, 'Close', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.RELEASE_OBJ(cell);
    OLE2.RELEASE_OBJ(workbook);
    OLE2.RELEASE_OBJ(workbooks);
    OLE2.RELEASE_OBJ(application);
    OLE2.INVOKE(application,'Quit');
    END; but it does nothing.... it simply opens the Excel application..... How should I modify the routine in order to open the example.xls file and write some data to it .....???????
    Many thanks,
    Simon

    OK... I SOLVED THE PROBLEM.....
    Regards,
    Simon

  • Problem opening a "xls" file

    Good day
    I'm having a difficulty opening a .xls file using a Ms Exel 2003.
    It prompt a box saying:
    The file you are trying to open, 'AA.xls' 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 wan to open the file now?
    If i click Yes. Another pop up will show:
    The information you were working on might be lost. Ms. Office excel can try to recover it for you and i checked on the " recover my work and restart Ms.office excel"
    A blank Ms.Excel will be shown.
    The size of the file shown on the icon are still there but nothing contain in it.
    Pls. help.

    Hi,
    According to this error, this .xls file may be damaged. The following steps might help recover your file:
    1. Click the File menu
    2. Click Open
    3. Locate the file, but do not click the Open button.  Instead, click the drop-down arrow next to the Open button.
    4. Click "Open and Repair"
    5. In the dialog that pops up, choose "Repair".  If that does not work, try the "Extract Data".
    6. Let us know if this works.  If not, we will see what else we can come up with for you.
    Regards,
    Greta Ge
    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.

  • Why can't I open up xls files?

    Why can't I open up xls files? I'm new with the mac so please help?

    Another possibility... If you have an older version of Excel, and the file you are trying to open is a new version with an .xlsx extenstion, then you need a converter to open it. (Sorry, I don't remember where to get it, because it didn't work for the first year that I tried it before I upgraded to Office 2011 at work.) Weird, since I'm able to open them on my iPhone, but not on my iMac. I've asked friends to save as an older version; some know how to use "save as".
    It can also happen cross-platform. If your file is from someone using a new version on a PC, and you don't have the equivalent version on the Mac, it might not open. On the PC, the extension doesn't show, so they may not know what version it is. But when they pen Excel, it will say as it opens.

  • APEX 4.0: error while opening a XLS file downloaded from interactive report

    Hi,
    I'm getting below error while opening a XLS file downloaded from an interactive report (APEX 4.0).
    "The file you trying to open, 'customer_2.xls', is in a different format than specified by the file extension.
    Verify that the is not corrupted and is from a trusted source before opening file. Do you want to open file."
    Yes No Help
    May be this one Apex 4.0 issue.
    please help me.
    Thanks
    Mukesh

    Hi,
    is the next part of the code correct.
    What i mean is packing of the attachment, finding out the size of pdf file and doc type as PDF.
    You can also try below link..
    Link: [http://wiki.sdn.sap.com/wiki/display/Snippets/SENDALVGRIDASPDFATTACHMENTTOSAPINBOXUSINGCLASSES]
    Hope this helps.
    Regards,
    -Sandeep

  • Convert an excel (*.xls) file to a xml file with Java Beans

    Hi to all............
    I am new to this ,
    I have a requirement that
    i want to read excel (*.xls ) file which is having some data going to be persist in database. Before going to persist process i want to read that data from xls file and convert those data into xml file.
    Can any one help me how can i do this using java classes?
    Please guide me what are the necessary libraries and requirements to do this?
    If any one have an idea then help me with some example code
    Thanks in advance for your great replay
    Sathish A

    this is the full stack trace i am getting jboss server console
    09:57:17,922 ERROR [application] org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
    javax.faces.el.EvaluationException: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at javax.faces.component.UICommand.broadcast(UICommand.java:387)
         at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
         at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
         at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
         at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
         at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
         at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
         at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
         at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
         at java.lang.Thread.run(Thread.java:636)
    Caused by: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
         at org.apache.xerces.dom.CoreDocumentImpl.createElement(Unknown Source)
         at org.domain.DigesterDemo.session.ViewList.generateXML(ViewList.java:275)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:616)
         at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
         at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
         at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
         at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
         at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
         at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:52)
         at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
         at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
         at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
         at org.domain.DigesterDemo.session.ViewList_$$_javassist_2.generateXML(ViewList_$$_javassist_2.java)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:616)
         at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
         at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:342)
         at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
         at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
         at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
         at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
         ... 51 more
    Thanks for your replay

  • Problem with opening the xls file

    I am getting this message while opening the xls file.
    type Status report
    message /report/eltc/timeplan_mjain_200708301147.xls
    description The requested resource (/report/eltc/timeplan_mjain_200708301147.xls) is not available.The file has been created successfully but not opening. whever i refresh the entire application in the tomact then its been recognized.the code below is used to open the file after creating it.
    BaseAction action = new IndicativeTimePlanAction();
                   action.execute(objReq, objRes);               
                   TreeMap map=(TreeMap)objReq.getAttribute(LTCConstant.LTC_TIME_PLAN_MAP);
                String strFilename = TimePlanUtil.downloadTimePlan(objReq,objRes, map);    
                //String strFilename="vsblt_mjain1.xls";     
                objRes.setContentType("application/octet-stream");
                objRes.setHeader("Content-Disposition","attachment;filename=\""+strFilename+"\"");
                objRes.setHeader("Cache-control","must-revalidate");
                RequestDispatcher dispatcher = objReq.getRequestDispatcher("/report/eltc/"+strFilename);
                dispatcher.forward(objReq, objRes);No exception is thrown at the console.
    Any suggestions plz.
    Message was edited by:
    bobz
    Message was edited by:
    bobz

    whever i refresh the entire application in the tomact then its been recognizedMaybe you're creating and downloading it asynchronously so that the creation of the file isn't finished yet while you're about to download it.

  • Opening .xls file with Numbers

    I saved a spreadsheet from Numbers '09 version 2.0 in .xls format and then tried to open it, but Numbers won't open it because off a reported problem with the plug-in to do that, "SFCompatibility plug-in." This used to work, I think. Perhaps the latest operating system update messed it up. (I have OS X 10.8.5.) Software update says there is no update for any of my apps. My Numbers software is in Applications/iWork '09.

    I was not "fooled by Excel's ability to recognize the file format and apply the correct converter automaticallY"
    What i mean is some people will export as a text file, but change the file extension to xls to force it to open excel when double clicked, and excel will open it just fine. Converting as it goes automaticaly and not even asking you any questions or putting up any errors.
    I know because i just did it to validate my statement (I am working at a Windows machine at the moment), and it worked fine. Even though the file was actually a tab delimited file, with an XLS on the end. If excel was strict, it would have looked for a Binary XLS file and rejected the file.
    This does NOT work with XLSX formats. You will get an error that its not formatted correctly. So if excel was able to recognize file formats and apply the correct converter automatically. they removed this ability in 2007+, only leaving it as legacy functionality.
    Your statement would be accurate for plain txt files. But excel is NOT ablel to ID the format automatically.
    Try saving a comma separated file with a  TXT extension, then try to open it by selecting "files of type" All files, in  an open dialog. It will start the converter for text files but will ALWAYS suggest Tab delimited. never the proper format if anything else. (we use Pipe | delimeted very often at work)
    thereby I present you the possibility that it is you that has been fooled by Excel into thinking it knows what its doing
    Jason

Maybe you are looking for

  • Validity Periods: Netprice on EKKO, where to find the correct netprice?

    <b>Background</b> We are extracting open PO data from tables EKKO, EKPO and EKBE to send the data to an external system for further processing. The extraction is done by BODI (Business Objects Data Integrator), an ETL tool that generates ABAP. Curren

  • Cost center doubt in Itemization of Material Cost Estimate

    Hi, I have one doubt. I creating a material cost estimate of a header material.A new overhead rate ZCDD has been maintained in the costing sheet. An existing crdit key ZC9 has been assigned to the overhead rate ZCDD. The cost element and cost center

  • Problems with a call transaction

    Hi, I'm having some problems with a call transaction and I cannot understand why. I put A in the mode, and I am seeing the dynpros and I am pressing enter it works perfectly but when I use mode N it tells me that there is not information for one of t

  • SE61 - Dynamic Variable

    All, I had created a Dialog text using transaction SE61 that contains a dynamic variable Data Sheet not printed for Sales Order Number &WA_OUTPUT-VBELV& This diagonose object i am calling in function module POPUP_TO_CONFORM like   call function 'POPU

  • Uses of Business Objects

    Hi Gurus, What are the uses of Business Objects created in SWO1 Tcode. Thanks, KNV.