Excel 2007 Multithreaded Calculations - Set Remotely (GPO, Registry, etc.)

 Could someone please tell me where the value is stored that tells Excel 2007 how many calculation threads to use.  Is there a way to set it to only use half of the number of CPU's in the computer everytime you open a session?  We would like to do this remotely through group policy or by a script.  By default it sets the number equal to the number of logical processors in the machine.

I would like to know where is is for Office 2010 too.  Spreadsheets with a lot of calculations are killing the XenApp servers.
I have been unable to find a GPO setting or a registry setting where this is stored.
Michael Pekarik Syntax, Inc.

Similar Messages

  • Excel 2007 VBA, problem setting Sheet Visibility in BeforeSave event after Office updates during mid Dec 2014

    After update of Office 2007 during mid December 2014, I have a Macro that does not work properly - which it did before the update.
    The Macro is used to make sure that users have Macros enabled when working on the file. The logic basically does the following:
    => In the "OnOpen" event, set all "work sheets" as Visible, and set the "Macro Warning sheet" to non-visible.
    => In the "BeforeSave" event, set the "Macro Warning sheet" as Visible and set all "work sheets" as non-visible.
    After the mid December update of Office 2007, the "OnOpen" part still works fine. The "BeforeSave" part does NOT work properly if the save action is triggered by using the shortcut key "CTRS+s". However, if saving the file
    using the "Save" option in the menues, the "BeforeSave" action works fine.
    Does Microsoft have a fix for this problem? I am not entierly sure exactly which update/KB that caused this.
    To recreate the problem, put the following code into the "thisWorkbook" module, and make sure that one sheet has the codeName "wshForceMacros". Open the file, enable Macros, then save the file using the keys "CTRL+s". The macro
    now hangs on the row "wshForceMacros.Cells(2, 1).Select" since the wshForceMacros sheet has not become properly visible...
    Option Explicit
    'ON OPEN
    Sub Workbook_Open()
    Call ShowSheetsAfterOpen
    End Sub
    'ON SAVE
    Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
    Call HideSheetsBeforeSave
    End Sub
    'ON SAVE
    Sub HideSheetsBeforeSave()
    Dim oSheet As Worksheet
    'Show Macro Lock sheet
    wshForceMacros.Visible = xlSheetVisible
    wshForceMacros.Activate
    wshForceMacros.Cells(2, 1).Select
    'Hide all work sheets
    For Each oSheet In ThisWorkbook.Worksheets
    If oSheet.CodeName <> "wshForceMacros" Then
    If oSheet.Visible = xlSheetVisible Then
    oSheet.Visible = xlSheetVeryHidden
    End If
    End If
    Next oSheet
    End Sub
    Sub ShowSheetsAfterOpen()
    Dim oSheet As Worksheet
    Dim bSaved As Boolean
    'Show all work sheets
    For Each oSheet In ThisWorkbook.Worksheets
    If oSheet.Visible = xlSheetVeryHidden Then
    oSheet.Visible = xlSheetVisible
    End If
    Next oSheet
    'Hide Macro Warning Sheet
    wshForceMacros.Visible = xlSheetHidden
    End Sub

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Excel, I'll move your question to the MSDN forum for Excel
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Change the default setting of 'Match entire cell contents' in Excel 2007

    Hi,
    I am using Excel 2007 on Windows 7 and need to search the contents of cells in a large spreadsheet on a regular basis.
    When I open the Find and Replace dialogue box, the Match entire cell contents option is always checked. I deselect this to search for the cell contents I require. If I then enter any values into a cell and try to search for another cell,
    the Match entire cell contents option is activated again.
    Is there a way to change the default setting for this checkbox to be off rather than on?
    Thank you,
    Nitin Suneja

    Hi Chad,
    I will check if it is something localised to the spreadsheet itself as it is shared by a number of people and all are having this problem with this sheet.
    Thanks for looking into this for me.
    Nitin.

  • Disable USB Selective Suspend Setting for Windows 7 via GPO/Registry

    <dir><dir>
    We would like to disable the usb selective suspend setting on our Windows 7 computers and can not find a way to do it without having to touch every computer.
    Is there a registry setting or GPO setting we can change to make this easier.
    We tried this registry entry and did not work. It seems it is only for Vista/XP
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USB
    Entry: DisableSelectiveSuspend
    Type: DWORD
    Value: 1 disables selective suspend mode. 0 enables selective suspend mode.
    </dir>
    </dir>
    Thanks in advance for any help on this.

    Hi,
    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will
    mark it as ‘Answered’ as the previous steps should be helpful for many similar scenarios. If the issue still persists, please feel free to  reply this post directly so we will be notified to follow it up. You can also choose to unmark the answer as you
    wish.
    BTW,  we’d love to hear your feedback about the solution. By sharing your experience you can help other
    community members facing similar problems. Thanks for your understanding and efforts.
    Regards,
    Leo   Huang
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Leo Huang
    TechNet Community Support

  • How to Disable Usb Selective Suspend Setting For Windows 8.1 Via Gpo/Registry

    Hello everyone,
    Could help me with a question ?
    How do I disable USB Seletive Suspended settings in Windows 8.1 is GPO / Registry ?

    Good morning.
    The procedure worked , sorry for the delay because the tests were running in the environment, will replicate via GPO solution.
    I appreciate the help .

  • Excel 2007 and Smartview 11.1 file open slow

    We are in the process of upgrading to HFM system 11.1 and smartview 11.1.1.3 and as part of this process we are starting to use Excel 2007. I am encountering an interesting problem when opening files in Excel 2007 using smartview 11.1 and I am wondering if any one else has seen this problem and found a solution.
    First I converted an excel 2003 file to excel 2007 and saved the file as an xlsx file type. Then I am able to open the file and it would take about 30 seconds to open the file. The file has about 15,000 formulas on for spreadsheets. If I click on each spreadsheet individually and use the "Refersh" button I can save the file in about 10 seconds and then close the file. When I open the file again it will open in 30 seconds. Now using the same file I click "Refresh All" and the file processes fine. I am able to save and close the file in about 10 seconds. However, when I try to open the file again it takes about 20 minutes to open, and then 20 minutes to close.
    This only happens with two or three files. I have another file that is 40 spreadsheets and about 3,000 formulas that is not affected when I click Refresh or Refresh All.
    Any help would be apperciated.
    Rich

    Hi
    On metalink i found some notes about this issure
    "Background
    SmartView communicates over HTTP using .NET. This just means that requests and responses are sent in a standard XML format that is tucked in the HTTP headers. The mechanism is the same as when your internet browser requests a file or submits a form (simplification). A standard Microsoft component that is part of Internet Explorer is used for this.
    There are three components (four if you include the network) in a SmartView refresh:
    -the client
    -the web server
    -the HFM application server
    It is easiest to troubleshoot when they are on separate machines. (Running SmartView on the server to see whether it works better is a useful test to see what effect the network is having, but doesn't show any other bottlenecks.) If you run Task Manager on these 3 machines showing the Performance tab, you will see initial activity on the client as Excel clears the cells and the request is converted into XML. Then you see the web server get busy as it receives and parses the request. Then the application server is busy as it send the data, then the web server is busy as it compiles the results into XML again, and finally the client parses the XML, pushes the data into cells and runs an Excel calculation. This last stage is the longest of all. Overall, it is typical to see the client doing 90-95% of the work, so client performance is a very important factor. Look out for Excel's memory usage increasing and RAM becoming in short supply. Often, user dissatisfaction with refresh times can be alleviated by giving them more RAM or a faster PC.
    The situation we are dealing with here, however, is when the chain of events described above is interrupted. In this case, you will see the client or the web server wait in vain for a response from the next machine in the chain. The case of invalid XML is similar, but the response is truncated so that the XML is not well-formed when it arrives. XML consists of matching pairs of tags and is not well-formed when a closing tag is missing. This can be caused by certain network settings such as packet size (see later). The end result in either case is the same: as Excel cleared the cells before sending the request, cells are left blank or with zeroes.
    Your job now is to work out why the particular component is failing.
    Client
    Check the HTTP time out in the registry:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]\
    "ReceiveTimeout"=dword:00dbba00
    "KeepAliveTimeout"=dword:002BF20
    "ServerInfoTimeout"=dword:002BF20
    The time-out limit is five minutes for versions 4.0 and 4.01 and is 60 minutes for versions 5.x and 6. Also, the time-out limit is 30 seconds for Windows Internet Explorer 7. To change the settings, add the above keys. The above values are hexadecimal, not decimal and correspond to 18000 milliseconds (3 minutes) and 240 minutes for the receive time-out. See
    - http://support.microsoft.com/kb/813827
    - http://support.microsoft.com/kb/181050
    Once you make those changes, my recommendation is that you reboot the client machine.
    Web server
    Look for errors in logs showing that the web app didn't respond/disconnected or timed out waiting for another application (i.e. the HFM application server). Eliminate load balancers etc. during testing in order to isolate the problem and to ensure that the user always goes to the same web server otherwise, logs can be hard to interpret. See also the IIS Tuning Guide for IIS settings. We cannot recommend particular settings, as each client must establish the optimal settings for their own environment after performance testing. If necessary, engage the services of a suitably qualified consultant.
    Application Server
    HFM application server performance is very dependent on whether the data is already in RAM or not. One symptom, where the first refresh fails but the second one succeeds, is probably a sign that the cache needed to be populated and once that had been done (by the first refresh) it went faster. HFM loads whole subcubes (Scenario, Year, Value and Entity) into cache, so asking for lots of accounts in the same subcube is fast, but asking for lots of entities will inevitably slow things down as it runs out of RAM and starts unloading subcubes to make room for more. The HFM event log (HsvEventLog.log) shows this happening, but don't forget that the messages you see are a normal consequence of the way HFM works and are not a problem unless you see a hugely elevated number of them during the period the refresh occurs. Another sign would be page file thrashing.
    If there are several servers in a cluster, use sticky sessions in HFM to make sure tests always go the same server, or hit one server directly rather than using the cluster.
    Solutions here involve giving more RAM to the server (probably not possible because of the 2 GB limit) and changing the worksheet design to restrict the number of subcubes accessed. A separate consolidation server, so that reads are not competing with intensive consolidations and calculations, would be a good thing.
    Network
    To find out if packets get fragmented, use
    ping -l size -f
    to send a big packet with the 'don't fragment' flag. E.g.
    Ping -l 1024 -f oracle.com
    If you see a reply like Reply from 141.146.8.66: bytes=1024 time=200ms TTL=245 then the size you specified is below the packet limit of the network. But if you use, for example, 2000 in place of 1024, you get Packet needs to be fragmented but DF set, then you know you have exceeded the limit. Combine this investigation with a Fiddler trace (https://www.fiddler2.com/fiddler2/) to see what size data messages are being sent and received.
    Troubleshooting Guidance
    If you seriously want to go into this in more detail, then it will take a considerable effort on your and your IT Department's part. My general advice would be:
    1. During this process, fix your environment so that it is predictable. Register a single HFM application server and connect to that. Use a single web server and don't go through Apache or any other redirector. Make sure we know which machine to go to for logs. This would be a temporary measure and it doesn't stop the other users using the full, load balanced system so long as it doesn't involve your server.
    2. As far as possible keep other users from using it during testing, unless you are specifically testing for performance under load. We want to see what activity is due to SmartView and not random other jobs.
    3. Use PerfMon on all three machines: client, web server and application server.
    4. Clear Logs before testing and note the times of each test so the logs can be correlated.
    5. Log CPU activity, memory usage, network throughput, page faults, thread count etc. I'm no expert on this so get advice from someone who is.
    6. In addition to the performance logs, from the IIS Server get:
    * HTTP.SYS Error Log - %windir%\System32\LogFiles\HTTPERR (Default location; configurable)
    * IIS Website Log - %windir%\System32\LogFiles\W3SVC# (Default location; configurable)
    * Event Log (both System and Application) in EVT and TXT (tab separated) formats
    7. From HFM Application server get:
    * HsvEventLog.log (in <HFM install>\Server working Folder)
    * Event Log (both System and Application) in EVT and TXT (tab separated) formats
    8. Be aware of all timeout settings in your environment (i.e. IIS & the network) and time your tests. This can show whether it is an ASP timeout, script timeout, client side timeout or whatever. Note that the Web Session Timeout setting for SmartView in HFM's Server and Web Configuration is a separate issue from IIS timeouts. Web Session Timeout controls the length of idle time before SmartView makes the user log in again. Default 20 mins.
    9. Run Fiddler traces to directly observe the XML and check for HTTP failures.
    Further resources
    - Tuning IIS 6.0 for HFM
    - SmartView Performance FAQ
    Both are available from Support.
    Author: Andrew Rowland
    Version: 11.x (Fri, 30 October 2009)"
    regards
    Alexander

  • Smartview 11.1 - Excel 2007

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

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

  • Excel Calulates twice when set to Automatic in Office 2013

    I have had a group of users who have raised an issue with Office 2013 running far slower for a number of spreadsheets. After investigating the fault, I have identified the issue as being due to the way in which Excel appears to be handling the calculations.
    When I open the spreadsheet myself, on Office 2013 32 or 64 bit, I am asked to update the data, at which point the spreadsheet runs the calculations if I accept, and then runs them again. If I set this behaviour to manual, I can open the spreadsheet, request
    an update, and then manually calculate, which only takes one pass at the data but provides the same results. The behaviour does not persist on an Excel 2010 machine, which does only a single pass on both manual and automatic. The spreadsheet does pull data
    from an external sheet, but as this only occurs in Office 2013, I don't believe this to be intended behaviour.
    Is there anyone who can shed some insight into why this acts this way, and how to prevent this. We are trying to upgrade our business to 2013, and are getting a huge amount of push back from this particular set of users over this issue

    Hi,
    According to your description, my understanding is that you want to calculate once time when the file opening or update data.
    I suggest you can make the file always calculate manual.
    You may try to do following steps:
    Click File>Options>Formulas> Calculate Options> Manual
    Then you can save it .
    For more detail information, please refer to the following link:
    http://office.microsoft.com/en-us/excel-help/change-formula-recalculation-iteration-or-precision-HP010054149.aspx
    The article applies to Excel 2007, but we can refer to it.
    Regards,
    George.zhao

  • Warning message when exporting a Financial Report to Excel 2007

    Excel 2007 users that attempt to export a fully formatted Financial Report into Excel 2007 get the following error message:
    "The file you are trying to open, 'FileName.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 want to open the file now?"
    I am still researching the behavior that users get when they click through the message, but would ideally like for the message not to appear without updating the client machine registries. Has anybody else run across this?
    Excel 2007
    BI Plus version: 9.3.1.0.0.248

    It looks like this is a known issue addressed in Bug 7359171 - EXPORT TO EXCEL 2007 CAUSES FILE FORMAT WARNING:
    The current design does not allow you to open HTML content from a web site in Excel unless the extension of the URL is .HTM/.HTML/.MHT/.MHTML. So ASP pages that return HTML and set the MIME type to something like XLS to try to force the HTML to open in Excel instead of the web browser (as expected) will always get the security alert since the content does not match the MIME type. If you use an HTML MIME type, then the web browser will open the content instead of Excel. So there is no good workaround for this case because of the lack of a special MIME type for HTML/MHTML that is Excel specific. You can add your own MIME type if you control both the web server and the client desktops that need access to it but, otherwise the best option is to use a different file format or alert your users of the warning and tell them to select Yes to the dialog.
    Another Workaround :
    Client Configuration of Extension Hardening.
    Client desktops can change the default behavior of the security check using a registry key. The following registry key can be set to alter the behavior ofthe Excel 2007 client in the following ways:
    Key: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\SecurityValue: (DWORD)"ExtensionHardening" = [0 = Disable check; 1 = Enable check and prompt; 2 = Enable check, no prompt deny open]Default setting if value not present is 1 (enable and prompt).
    The client can configure the site to disable the check by setting ExtensionHardening = 0. This will stop the prompt from appearing, but it will also disable any future checks for the file content validity. This does not (in itself) lower your security. The check is part of a defense-in-depth strategy to prevent malicious users from crafting files of a different type than its extension (or MIME type), which could then be used to trick users into opening a file of a type they did not expect. This warning is designed to let the user know of this potential threat and given them an option of canceling the open if they wish.

  • Can't send Excel 2007 File via Send To Email Option after Acrobat Install

    Normally, you can send an Excel 2007 file via email to someone by going to the Send option on the Excel file menu and choosing "Email." This will email an actual copy of the Excel 2007 file. However, since installing Adobe Acrobat  9 pro on my computer, this option, as well as the option to send to XPS are gone -- the only email option I have on that menu is to convert the file to a PDF and email it.
    It seems to me that Acrobat should ADD options to menus but not remove any! Does anyone know how I can get those missing options (especially the one to email the actual file itself) back? I've tried Googling up a solution, but to no avail so far.
    Thanks, in advance, for any help!
    Laura

    Thanks for taking the time to respond, Aditya!
    I saw that MS support article when I was trying to solve this issue on my own, but the solutions it proposes won't work for me -- I can't set Outlook as my email client (this is a work computer and we use Lotus Notes) and I can't muck around in the registry (again, this is a work computer). I know I can attach the Excel via the attach command in the email client, but the main thing is I don't understand why Acrobat has removed that option from the Excel menu. Also, it removed the Send to XPS option (which I don't really care about, but it bothers me because it shouldn't be deleting anything)!
    I even tried adding the Email command to the Quick Access Toolbar in Excel -- it let me add the button, but, when I click it, absolutely nothing happens.

  • Excel-2007 cannot connect to Oracle ODBC data source, Control Panel can.

    <p>
    I cannot make an ODBC connection from Exce-2007 to Oracle work. I am an expert Excel and VBA user (since 1994) and I have frequently used Excel to access ODBC databases, including Oracle (I have done this with Excel-2003 both with worksheet queries and have written VBA ADO-connection routines). And even though in Excel-2007 a worksheet ODBC query is supposed to be easier to create than in previous version of Excel, my connection fails. Any suggestions and all help are welcome and much appreciated.
    DETAILS
    </p>
    <p>
    1) <strong>What is my system?</strong> I am using Excel-2007 on Windows Vista x64 and Oracle server v.11g on my computer (all this is on my computer, no network issues).
    2)<strong> Why use Excel with Oracle at all?</strong> I use Excel-2007 to access Oracle rather than Access-2007 (or any other application like TOAD, etc.) because I do engineering calculations with the data stored in Oracle. These calculations are easier done in Excel (I suppose that one alternative to this could be to use some sql or Access to get the data from the database, then store it as plain vanilla CSV file, then open this file in Excel, then do the math (the math involves complex optimisation algorithms), then save the results as CSV, then use some sql or Access to put the data back into the database. Howwever this does not strike me as a quick or neat solution. And after all Excel has been designed to access ODBC databases, so why not use it?)
    3) <strong>What do I do in Excel-2007 that won't work?</strong> I create an ODBC link to Oracle that does not work. In Excel-2007 this is straightforward:
    </p>
    <ul>
         <li>define an ODBC connection (Data tab --&gt; From other sources --&gt; From data connection wizard);</li>
         <li>define a query on the worksheet -- that's it, this is all!</li>
    </ul>
    <p>
    I start with creating an ODBC connection:
    a) I choose an ODBC data source type: <strong><em>ODBC DSN</em></strong>
    b) Excel-2007 displays the list of the available ODBC data sources. I see in it <strong><em>my Oracle database name</em></strong> and I select it.
    c) Excel-2007 displays the Data Link Properties:
    - the "Provider" has a list of the OLE DB drivers with preselected "<strong><em>Microsoft OLE DB Provider for ODBC Drivers</em></strong>". I keep this default selection.
    - the "Connection" tab has a connection string "<strong><em>DSN=&lt;my database name&gt;</em></strong>" which I keep, it also has fields for the <strong><em>user name</em></strong> and the <strong><em>password</em></strong>, which I fill with the correct credentials.
    - Finally there is a button "Test Connection", which when I click produces the following error message:
    <strong><font color="#ff0000">"Test connection failed because of an error in initializing provider.</font></strong><strong><br />
    </strong><strong><font color="#ff0000">Unespecified error"</font></strong><strong>
    </strong>
    4) <strong>Additional food for thought:</strong>
    a) In the above walk-through the only data, which I type, are the user name and password, everything else is selected from lists offered by Excel-2007, hence any possibility of typos being the cause of the problem can safely be discarded.
    b) I can test the ODBC driver in the Control Panel and it shows that it can connect to the Oracle database:
    - in <strong><em>Control Panel --&gt; Admin Tools --&gt; Data Sources (ODBC)</em></strong> on the "User DSN" tab I can see the list of the available ODBC data sources (same list as in Excel-2007, point 3b above) with the name of my database in it;
    - selecting the name of my database from the list of the sources and clicking "Configure" button opens a tab with <strong><em>Data Source Name</em></strong> (same as in Excel-2007), TNS Service Name and User ID. I enter <strong><em>&lt;user name&gt;/&lt;password&gt;</em></strong> and click "Test Connection" button. A message "<strong><em>Connection successful</em></strong>" appears (just for a test I enter <u>incorrect user credentials</u> and "<strong><em>Unable to connect</em></strong>" message appears)
    BOTTOM LINE
    </p>
    <p>
    The procedure for using an ODBC connection from Excel is very simple, in the past I have created and used such connections numerous times with Excel-2003 and earlier on Win-XP and earlier. But now on Excel-2007 and Vista-x64 I cannot make it work.
    Also, testing an ODBC connection driver is really easy and simple to be done in the Control Panel. There testing the same ODBC connection, which fails in Excel-2007, results in success.
    I am frustrated by the simplicity of the problem and yet the persistant error. I have lost now two full days in failed attempts to make the simple procedure work and in searching the internet for answers.
    All help is highly appreciated <img class="emoticon" src="images/emoticons/happy.gif" border="0" alt="" width="16" height="16" />,
    Plamen
    </p>

    Did you find the solution to your problem?
    If not, I think I may know.
    Excel 2007 is a 32-bit application.
    When installing 32-bit applications in a 64-bit environment, the "default" location is:
    C:\Program files (x86)\...
    Excel then launches from this location.
    However, when it connects to Oracle and passes the name of the calling program, Oracle attempts to "interpret" the value of (x86) as if
    the value within the parenthesis are being passed as a reference. Of course, iOracle doesn't find anything, so the result is (),
    and then it cannot return the connection info back to the calling application.
    I corrected it by installing Excel in C:\Program Files\, and once launched from that location, it works the same as on the 32-bit machines.
    However, at my location, they are FORCING Excel to be installed in the(x86) location.
    What I'm trying to discover now is:
    Is it possible to flag Oracle to NOT process the embedded variables?
    Or, is it possible to assign a variable in Oracle such that x86 = "(x86)", so that the end result is viable?
    Have you had any luck with your installation?
    thanks,
    Paul

  • Project Server 2010 export to Excel 2007 fails

    I keep getting the following error when I try to export Resource Availability to Excel.  I am using Project Server 2010, Excel 2007, IE8, Windows 7.  I have PS set as a intranet site with low security set.  Coworkers with the same setup are
    not having this issue.  I have tried exporting to Excel with Excel open, Excel closed, on a hardwire network connection, on wireless network connection, on my corporate VPN and not on my corporate VPN. 
    Microsoft Office Excel cannot access the file "URL here" for the possible reasons:
    -The file name or path does not exist.
    -The file is being used by another program
    -The workbook you are trying to save has the same name as a currently open worklbook.
    Please provide suggestions on what to try differently to make the export work.  I have tried downloaded other version of IE and have the same issue.

    Hi Julia,
    since nobody jumped in, I'll give a try!
    Have you tried to reinstall Excel or at least repair it?
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Excel 2007 and Security warning

    i am generating excel version of a report and it is working ok in 2003
    Now when we went to excel 2007
    i get a warning message
    "The file you are trying to open, '[filename]', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
    (Yes | No | Help)
    if(showExcel) {
    //response.setContentType("application/vnd.ms-excel");
    response.setContentType("application/csv");
    //response.setContentType("application/excel"); -- did not recognize mime-type
    This is the code i used where the MIME type is set. last one didnt work.
    CSV says unknown file type with a popup (Find,Save, Cancel)
    Can anyone please let me know how to solve this? This is a java application.

    You're apparently fooling Excel with a wrong content type as opposed to the actual content.
    What's the actual content? A plain HTML table? A real CSV file? A real XLS file?
    If a HTML table, don't do that. Stop fooling the browser and Excel. Use real CSV or XLS format.
    If real CSV, just ensure that the format is correct according RFC 4180 spec.
    If real XLS (binary stream obtained from a 3rd party library such as Apache POI HSSF), use content type "application/vnd.ms-excel".

  • Excel 2007 and Smart View 9.3.1.4.041

    Dear Experts,
    We are now working with Excel 2007 and Smart View 9.3.1.4.041, and encounter the problem that ervery time open the protected excel file there would be the warning message "Drawing Objectes in one or more sheet(s) in the workbook are protected. Please unprotect them and try to save again."
    Can any one suggest with;
    1. How to set the Excel security settings for Excel 2007 to work for smart view?
    2. How to avoid the message mentioned above while working with Excel 2007?
    3. How to create a protected Excel file to work with Smart View 9.3.1.4.041 both in Excel 2003 and Excel 2007?
    Tks
    Edited by: Moonlight on May 19, 2010 10:00 AM

    I've experiencied similiar problems, though other users may have found a better solution, I've unlocked the spreadsheat, refreshed, and then relocked via a VBA macro. A button object at the top of the spreadsheet was added to make it easier for the users use as well. If there is a better solution I am very interested in this as well.
    JTF

  • 32-bit...64-bit...Excel 2007...Excel 2010...nonetheless a .xlsx File

    My head is spinning...soooooo here's the deal...
    The client provides us a .xlsx File. Now I have no idea how this is created and saved...via Excel 2007...Excel 2010
    When I attempt sourcing the .xlsx File in my SSIS Package I get the error "External Table is not in the expected format"
    Sooooo, I figure I'd write a C# Edit Script to read .xlsx File and Save it as a .xls file using the following syntax...
    string StrFileName = (Dts.Variables["User::FileName"].Value.ToString());
    StrFileName = Path.GetFileNameWithoutExtension(StrFileName);
    string StringSourceFile = (Dts.Variables["User::FilePath"].Value.ToString()) + StrFileName + ".xlsx";
    string StringDestinationFile = (Dts.Variables["User::FilePath"].Value.ToString()) + StrFileName + ".xls";
    // This initiates the Excel Application
    Microsoft.Office.Interop.Excel.Application excelApplication = new Microsoft.Office.Interop.Excel.Application();
    // This Opens the Source .xlsx File from Emdeon ePaySmart
    Workbook workbook = excelApplication.Workbooks.Open(StringSourceFile, XlUpdateLinks.xlUpdateLinksNever, true, 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 will Save the Source .xlsx Emdeon ePaySmart File as a .xls File...note xlFileFormat.xlExcel5
    workbook.SaveAs(StringDestinationFile, XlFileFormat.xlExcel8, Type.Missing, Type.Missing, Type.Missing, Type.Missing, XlSaveAsAccessMode.xlExclusive, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
    // This will Close the Source
    workbook.Close(false, Type.Missing, Type.Missing);
    // This shuts down the Excel Application
    excelApplication.Quit();
    Note xlFileFormat.xlExcel8
    Now this worked PERFECTLY client side. Then when I created a SQL Server Agent Job it blew up and from what I read the SQL Server Agent Job does not like running dynamic Excel commands.
    Soooooooo now I'm back at the drawing board and figured I'd use OLE DB to source the file.
    I am using this Connection String for the .xlsx File
    string StringConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + sourceFile + ";Extended Properties=\"Excel 8.0;HDR=Yes;IMEX=1\"";
    Now I understand that the OLEDB.4.0 Connection string is incorrect for a .xlsx File. (Which is why I probably tried to do this with dynamic Excel commands to begin with)
    Now comes the chicken and the egg problem...
    If instead I try using the OLEDB.12.0 Connection String it tells me it isn't installed
    My network, copied Microsoft Office 2010 installed is 32-bit
    So if I try to install the 64-bit Microsoft Access Database Engine 2010 it tells me I have to Uninstall Microsoft Office 2010. Well that is not possible
    So my question is this...How in God's name can I try and process this .xlsx File??? I am at a complete loss here.
    I did come upon this Posting previously...in italics below but it fell short in terms of providing a solution.
    Can anyone please help me out here?
    Thanks in advance for your review and am hopeful for a reply.
    ITBobbyP85
    When I create my connection manager to connect to a .xlsx file, I get the error message that says:
    "Test connection failed because of an error in initializing provider. External table is not in the expected format."
    The provider selected was the ole db "Microsoft office 12.0 Access Database Engine...", and in the All tab I entered "Excel
    12.0" at the top where it says Extended properties.
    Here is the stumper:
    My import package(s) has (have) been running manually for the last 2-3 weeks, but now i've finished an automated system that downloads
    the files from the ftp site, unzips them, validates all the expected files are there, renames and relocates the files to the names/locations expected by my ETL, and then runs the ETL.
    I found out today that the people who manually did this process were each time opening the file and then saving it to the correct location
    in Excel 2007. 
    When I try to run my ETL on the files in the automated process, it fails with the above error. If, however, I just open the file and
    save it (also in 2007), it runs fine. I have been trying to figure out what saving the file is doing to change it to be in the expected format.
    I have tried to use an excel 2003 connection to connect to a copy of the file with a modified extension of .xls and that didn't work.
    (in case it was in another version of excel and someone just changed the ext)
    I then tried to access the file with the OLE DB provider, as above, but instead of entering 12.0 on the Extended properties line, entering
    9.0 or 14.0 in turn (creating new sources/connections each time), and when I do that, both times I get an error that says: 
    “Test connection failed because of an error in initializing provider. Could not find installable ISAM.”
    Am I missing something? Is there something else that simply opening and saving the file might be doing to make it paletable to ssis?
    If we install excel on the db server I realize i could probably open it up and save it as excel 2007 and that would do the trick, but
    the dba is resistant to this idea, so I thought I'd see if anyone has any other ideas?
    If we do have to install excel on that server, does the version have to be excel 2007 in order to programmatically save it as type 2007?
    thanks in advance for your thoughts on the issue...

    You just need to install the latest ACE OLEDB (JET) provider, then when you set the package to run use a proxy with proper rights to access the Excel file on the file system.
    http://www.microsoft.com/en-ca/download/details.aspx?id=13255
    Arthur
    MyBlog
    Twitter

Maybe you are looking for