Excel spreadsheet being opened in preview mode by some machines

I would really appreciate it if someone could help with a problem that is confusing me.
I am developing an Excel spreadsheet containing a number of macros that are actioned mainly through the use of an ADD-INS customised menu.
The spreadsheet has been deployed across about twenty systems running a mixture of mainly windows 7 64 bit machines with Office 2010 or 2013 installed.
For several weeks each spreadsheet has been updated periodically as new functionality has been added. This has not been a problem until now.
Some, but not all, when they try and open the new version of the spreadsheet get an error 'Application-defined or object-defined error' a number of machines experienced this same problem all at the same time, but not all.
I have ruled out it being an Office version number problem because in both 2010 and 2013, some work some don't.
I can reproduce the exact same problem on the machines that don't have the problem by opening the spreadsheet in preview mode.
I can find nothing that is forcing the problem machines to open the spreadsheet in preview mode and the difference between the previous version of the spreadsheet and the latest version are relatively minor, but the previous version works and the latest version
causes some machines to throw an error.
The section of code that is being highlighted is checking the sheet protection, I have isolated the code and inserted it into a test excel file and it works fine on the machines that are experiencing the problem, so it doesn't seem to be a coding problem.
I feel that I have effectively ruled out any problem with the code itself and so instead concentrated on it being a "preview" mode problem.
I found that if I opened the new version up on the problem machine and applied a self digital certificate to the VBA code and saved it locally then I could get the problem machine to open the new version without an error.
I can't see any need for doing this though, there is no digital certificate on the original spreadsheet and when I isolated the highlighted code I was able to create a spreadsheet on the same development machine and send it over to a 'problem' machine and that
spreadsheet opened and ran just fine.
I am therefore now very confused. This latest version of the spreadsheet is being opened by let's say 50% of the machines in what appears to be preview mode. The machines are all part of the same network and I have checked that they all have the latest Windows
updates applied and all have the same Excel options settings.  
I have checked the security levels and all the machines seem to be set up the same.
I have doubled checked and there is no digital certificate on the original spreadsheet.
I need it to work the way it did before, i.e. each computer receives a new version and can open it without any messing around.
The new version is copied from a networked folder so I have been able to rule out any Outlook security messages to do with email attachments.
Can anyone shed any light as to what could be going on? 
Why are some machines opening this particular spreadsheet up differently to every other spreadsheet?
As it suddenly happened across multiple machines at the same time I was looking at possible Windows updates causing the problem but I have applied all the window updates to two machines and one works and the other doesn't.
I'm running out of ideas.

Hi Jeffrey
>> Excel spreadsheet being opened in preview mode by some machines
>>>Is it caused by the custom code, could you reproduce this issue without the custom code?
I can't seem to isolate the code to cause the problem, when I isolate the code it works.
>> New version of the spreadsheet get an error 'Application-defined or object-defined error' a number of machines experienced this same problem all at the same time
I>>>’m not sure whether it was caused by Microsoft Security Bulletin MS14-082.
>>>Here is a KB for your reference: KB3025036
I have had this problem but managed to resolve that by deleting the .exd files.
>> However it is still a problem for the first machine that experienced the problem, even though the Windows Updates are wholly up to date.
>>>Currently, I’m not able to identify the root cause of this issue, but if this issue could only be reproduced on a specific machine, I will suspect this issue is related to a specific environment. If this is an urgent issue, I will recommend you
creating a support incident so that the engineers could work closely with you to troubleshoot this issue in a deep level, if the support engineer determines that the issue is the result of a bug the service request will be a no-charge case and you won't be
charged.
I have now installed the same spreadsheet on 20 machines.  
15 - installed without any problem,
3 - experienced the problem but then mysteriously worked a few days later without me doing anything other than trying again.
1 - worked only after I digitally certified the VBA on the local machine,
1  - I can't get it to work at all no matter what I do. (Edit the VBA locally, digitally certify the code etc)
I have another 4 machines that need to be done.
For the 1 that I can not get to work at all I have checked that all the windows Updates have been applied. It is a relatively new desktop PC running Windows 7 64 bit and Office 2013.
Does any of that suggest a possible cause? To me it almost suggest a windows update is resolving the problem but if it is it is proving difficult to pin down as to which one.
Martin

Similar Messages

  • Document always opens in Preview mode, prefer Normal mode

    Documents always open in Preview mode, while I'd prefer the Normal mode. I tried setting the mode to Normal and saving the document, but next time I open it it again opens up in Preview mode. Can I change this somewhere so it defaults to Normal mode?
    Thanks for your help or suggestions.

    The preview that was used when the file was saved is saved with the
    file. If you save it in preview mode, it will open that way.
    If that's not the case, you may have a slight corruption in your
    preferences. Try trashing them if this bothers you.
    Bob

  • Preview mode showing some elements shifted vertical ;(

    One of my pages if showing some elements shifted vertically when viewing in preview mode. Its rather annoying as only one page is showing this. The design section shows all elements as they should be. Please help!!
    Image showing design mode as intended with Event title bar and featured events image in correct place.
    Preview mode below showing feature event image shifted vertically with event title bar.
    Any helpers got a fix for this?

    I also have a similar issue with a page on my site.
    I have a vertical scroll page with anchored links on the page.
    Each section of the page I have denoted by a vertical solid color rectangular bar.
    In design mode these bars are the correct lenght and position, however in preview I had issues where they were either shifting vertically or after trying out some fixes, which I will list, they now start (I think) at their designated start points but their end point is not that which i have specified.
    Fixes I tried:
    I put the anchors at numbers below 0 - no change
    I changed from one continous text box to segmenting the text boxes into section which correspond to the different colored rectangular bars - this, once grouped with corresponding bar and text box, solved the issue of the bars starting in the wrong location but did not fix their their over run at the end as in picture.
    I then put the grouped bars inside their respective text box and wrapped text with a margin of 20 - no change
    I then grouped all simialr grouped items together - no change
    I would greatly appreciate your help and I will forward the site with a link to this thread to muse support.
    yours faithfully.

  • Excel Spreadsheets Not Opening Correctly-Have to select "Tiling" to correct

    We have experienced an issue where when we open a spreadsheet, the contents are not displayed.  We have to click on View / Arrange All / and then select tiled.  Has anyone experienced this issue?   If so, what is the fix?  This occurs with Excel 2003 and Excel 2007.
    Thanks

    Anyone experiancing this issue? To clarify, opening and closing excel and word files are moving me to screens where I have other excel or word files open when using mission control. I all mission control boxes unchecked in system preferences and I don't see anything in the excel preferences that could be overriding it.

  • I'm currently building my first website with Muse. Some pages have links to PDF files on my computer but they're not opening in preview mode. Is that normal?

    I am a newbie with website building, so be nice!
    Thanks in advance

    Hi
    Thanks for your reply.
    Nothing is happening when I click on to the link. The 'hand' appears as if something is linked there but nothing opens. Yes, I'm previewing the page in Muse itself.

  • Linking to specific cells in an Excel spreadsheet no longer working

    I use RoboHelp HTML version 7 and just upgraded to MS Office 2007.  I have project that contains hyperlinks to specific cells in an Excel spreadsheet using the following syntax: <a HREF="../file_name.xls#cell_name">  (a tip I found on Peter Grainge's website).  This worked fine with Office 2003.
    With Office 2007, however, the hyperlink opens the Excel spreadsheet to the first cell on the first tab regardless of the the #cell_name suffix.  I've tried the following with no success:
    delete the .xls baggage file, convert the .xls to the newer .xlsx format, add the .xlsx as a baggage file, rename the hyperlinks to .xlsx (in HTML view), generate new output
    same as above but re-creating the hyperlinks (rather than just renaming)
    When I preview the topic, the hyperlink is active but does not open the spreadsheet (topic cannot be found).  In the generated output, the hyperlink is not even a hyperlink (just plain old text).
    Another unusual behavior (I have no idea if this is related) -- before I tried to fix this, when the original spreadsheet (.xls) opened in "compatibility mode," it was not maximized in Excel's window.  When I used to open this in Office 2003, it was always maximized.
    Does anyone know if the #cell_name suffix works in Office 2007?  Is there another way to link to a specific cell?

    Hi all
    As I understand it, the "X" on the 2007 stuff signifies a format similar to a zipped format. If what I understand is true, it would seem to make sense that this would also somewhat preclude linking in the manner you are speaking of. It would be akin to opening a specific document after first opening the zip archive.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Adobe PDF Portfolio - Preview Mode Displaying Incorrect Pages

    I have created a PDF portfolio using the “Grid” template in Adobe Acrobat XI Pro. The Portfolio contains three pdf files. I am getting the following problem when I open the pdf Portfolio in Adobe Reader X and XI and Adobe Acrobat Pro XI.
    Open the PDF portfolio
    Click on pdf3
    Preview mode displays the correct document and pages.
    Close the preview of pdf3
    Click on pdf2
    Preview mode displays pages from pdf3,not pdf2 (see screenshot below).
    Some observations:
    If pdf1 has two pages, and pdf2 has ten pages, pdf2’s preview contains pdf 1 (pages 1-2)  and then pdf2 (pages 3-10).  
    If I continue to open pdfs the preview contains pages from all the pdfs I have opened in the portfolio (this depends on how many pages the document I am currently previewing has). It is not just caching the last pdf opened. 
    Preview mode always displays the correct NUMBER of pages (i.e., if there are ten pages in a pdf, there will be ten pages in the preview. They will just be the wrong pages).
    Turning off local page cache (preferences > page display) does not fix the problem.
    Adobe Reader is up-to-date and Flash is up-to-date. I have replicated the problem on different computers, and in Adobe Reader X and XI, and Pro XI. I have also created muliple pdf portfolios from scratch to confirm the pdf portfolio itself wasn't corrupt.
    Does anyone have an idea what is happening? Users are getting very confused when their preview shows them a completely different document.
    Thanks for any help

    We have the same problem. Everything's up to date. Adobe needs to address this issue!! The portfolio feature is a great idea, but this glitch basically ruins it. If you come by this page with the same problem, make sure you leave a reply. Maybe Adobe will actually pay attention if there are enough complaints.

  • Cannot Edit Embedded Excel SpreadSheets

    There is a user at our company who cannot open Excel 2010 spreadsheets that have been embedded into Word 2010 documents. Sometimes the embedded Excel Spreadsheet will open with a Picture Tools menu ribbon. Other times he gets an error
    message that Excel is not installed on his computer. When other users open the same embedded objects on their computers they do not have any problems. I have replaced his computer but the problem continues with the new computer. I have also logged onto his
    computer with a different user account and I do not have a problem opening the embedded Excel spreadsheets. The user has Administrator rights on his own computer. We all have Windows 7 Enterprise and Office 2010 Professional Plus installed on our computers.
    Thanks in advance for any assistance with this issue.

    Hi,
    Try this:
    ============
    1.      
    Go to Excel.
    2.      
    Click File > Options >
    Advanced, then in the “General” section, remove the tick from “Ignore other applications that use Dynamic Data Exchange (DDE)“.
    For the general troubleshooting, you may refer to:
    Troubleshoot linked objects and embedded objects
    http://office.microsoft.com/en-us/word-help/troubleshoot-linked-objects-and-embedded-objects-HP005189818.aspx
    Best Regards,
    Sally Tang
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please contact
    [email protected]   

  • Firefox will not open. I have used this for several years. It will not even open in safe mode. I have un-instaleld it..re-installed it and the same problem occurs. No error messages etc. ANy thoughts?

    The program was working fine..now nothing. I have un-installed it several times...re-installed it several times. Will not even open in safe mode.

    For some things you can try see [[Firefox will not start]].
    I would start by seeing if a new profile works. See [http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows creating a new Firefox profile on Windows - MozillaZine Knowledge Base]
    If the new profile does work, you can transfer selected data such as bookmarks and passwords to the new profile. I would not copy preferences or extensions, instead re-install the extensions. See [http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox Transferring data to a new profile - Firefox - MozillaZine Knowledge Base]

  • Importing and parsing Excel spreadsheets

    Hi,
    I am trying to import an Excel Spreadsheet, extract the
    necessary information, and then post that information into a
    database. Even if I save the Excel Spreadsheet as an XML document,
    it loses some of its characteristics and becomes difficult to
    parse. What should I do in this case to preserve the Excel format
    and extract the relevant information for my application.

    Take a look at this!!!!
    http://mannu.livejournal.com/348299.html?view=1967243#t1967243

  • Did I miss something in the fine print? I installed Lion and and come to find out, I can no longer open any Word documents or Excel spreadsheets as they are no longer supported (being PowerPC apps).  Seriously?!?!?!?!!   What are my alternatives?

    Did I miss something in the fine print? I installed Lion and and come to find out, I can no longer open any Word documents or Excel spreadsheets as they are no longer supported (apparently because they are PowerPC apps).  Seriously?!?!?!?!!   What are my alternatives?

    Hi Mary and Matthew
    You might find it helpful to "try before you buy" - there is a 30 day free trial offer for Office for Mac 2011, accessible from M's .com website.
    You may be able to use this period to open and resave your old documents in a format that enables you to switch instead to using Apple's iWorks apps moving forward.
    I initially intended to do something similar, but ended up buying Office as it provided an easier way (for me, at least) to continue working with years worth of old emails, letters, spreadsheets and other documents (from my PC days) without risking damage to their integrity, formatting, etc.

  • Excel Web App gives 404 when using Sharepoint's Interactive Preview mode

    I'm trying to open the Office Web apps in Sharepoint's Interactive Preview mode.
    This works like a charm for, for example, Word and Powerpoint.
    However, upon opening an Excel file, the officeapps.live.com returns a 404 not found.
    Google hasn't been very helpful to me for this issue, is there anyone who has experienced a similar problem?
    Data from Chrome's devtools: "GET https ://euc-excel.officeapps.live.com/x/_layouts/xlpreview.aspx?wdRepost=(..) 404 (Not Found)"
    and Telerik's Fiddler: 
    This gives the 404: "GET /x/_layouts/xlpreview.aspx?wdRepost=1&access_token=e(..)"
    However, it's referred to by another Excel preview link which gives a 200 status:
    "GET /x/_layouts/xlpreview.aspx?ui=en&rs=en&WOPISrc=(..)"
    I hope anyone can help me out on this matter ! :-)
    Kind regards,
    Alex Schouls

    I'm trying to open the Office Web apps in Sharepoint's Interactive Preview mode.
    This works like a charm for, for example, Word and Powerpoint.
    However, upon opening an Excel file, the officeapps.live.com returns a 404 not found.
    Google hasn't been very helpful to me for this issue, is there anyone who has experienced a similar problem?
    Data from Chrome's devtools: "GET https ://euc-excel.officeapps.live.com/x/_layouts/xlpreview.aspx?wdRepost=(..) 404 (Not Found)"
    and Telerik's Fiddler: 
    This gives the 404: "GET /x/_layouts/xlpreview.aspx?wdRepost=1&access_token=e(..)"
    However, it's referred to by another Excel preview link which gives a 200 status:
    "GET /x/_layouts/xlpreview.aspx?ui=en&rs=en&WOPISrc=(..)"
    I hope anyone can help me out on this matter ! :-)
    Kind regards,
    Alex Schouls

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

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

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

  • Automatically open excel spreadsheets with numbers

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

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

  • How to open Excel spreadsheet in Numbers.

    Hey Kids:
    I have trouble opening imported Excel spreadsheets in Numbers on my iMac.  I have Mountain Lion 10.8.2.  Previously I tried a demo of Office Mac that has expired.  When I try to open an Excel spreadsheet I get a message to buy Office Mac.  I've tried to put the demo application in the trash but I still can't open the Excel spreaddsheet and get a message that Excel is in the trash and can't open the spreadsheet. 
    HELP!

    In addition to what Niel said...
    In the Finder, click on an Excel file (.xls) to select it, press command-I to Get Info.
    In the Info window, expand the Open with...section.
    Click the pop-up menu bar in that section and choose Numbers '09.
    Click the Change All button below the menu.
    Repeat with a current version (.xlsx) file.
    Regards,
    Barry
    PS: Unless you have something vital that you're storing in the Trash, you might also want to Empty the Trash to get rid of the Excel trial that's expired.
    B

Maybe you are looking for

  • How to populate the LOV with warehouse item in Item Roles form

    Hi Any one please tell me can we populate the list of values for warehouse items in the item roles form, if so please let me know how to do it. Navigation Go to OPM Inventory Control Go to Workflow Go to Item Roles Opens a window Item Role Relation.

  • Issue with Dyamic varibles.

    Hi, we are using BI Apps 7.9.6.3. I used CURRENT_MONTH varible in my Report. But values are not changed it will showing for 2012/10 month only.it will not update to 2012/11. I restarted OPMN services but No Use. Any Help.......

  • Problem with slash character in CONTAINS queries

    Hi there, i've got a problem with a CONTAINS query using Oracle Text. The following query works fine: select col1 from my_table_text where contains(text,'%02%')>0; When i'm trying the query select col1 from my_table_text where contains(text,'%02/%')>

  • Bonded warehouse moement capture

    Hi friends I am not from MM, and hence i need some basic inputs... The requirement is to records all the materials movement in an out of a warehouse. Is the  a way that could be done. I don't wont to reocrd movemnet whichh would happen within the war

  • Schedule and deploy

    Hi, I use BO xi 3.1, I have scheduled 20 reports for different clients based on a single template, I can view those reports under the History tab. Is there other way to show me all reports I have scheduled for that template? Also, what is the best wa