How to open excel file in InternetExplorer viewer - excel

We have an existing web application that open up excel file in a IE specific file viewer. This doesn't seem to work with Office 2021. The files are opened outside the viewer.
The earlier office versions have specific registry changes that allow this, as below
Window Registry path -> HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Sheet.12
key value for BrowserFlags is 0x80000A00.
key value for EditFlags is 0x00010000
However what registry settings are needed for Office 2021 to make excel documents to open in IE?

Related

Strange hyperlink handling in Excell, clicking on links always prompts for sign in even when it shouldn't

From my enterprise application, I can export a list of assets into an Excel file or a PDF file which puts a clickable hyperlink that points to the asset. When I open the hyperlink in the browser by clicking on the hyperlink in the excel file, my application prompts me to sign in (which it shouldn't).
This doesn't happen when I click on the hyperlink in the PDF file or manually copy the hyperlink and paste it into the browser window. When I save this excel file as a PDF and then click on the hyperlinks then it works as expected(without re-prompt for sign in). I have also manually created hyperlinks both using the formula(=HYPERLINK) and using the Link context menu and the behaviour is the same in these two cases (Prompted for signing). I have also tried this with word and it's also prompting for me to sign in.
Is Excell/MS Office doing anything additional whenever I click on these hyperlinks and if so how can I disable this functionality? How are external URL's handled in the MS office?
My document would look something like below(with a lot more columns)
This is because when a hyperlink is opened in any word document MS office process it and if it needs to be opened in a browser it opens with a new session ignoring the session id. Some SSO providers do not recognise authentications across sessions and hence prompt for authentication again. This can be avoided by instructing the MS office to open the URLs directly in the browser by modifying the registry key.
Create a new DWORD named ForceShellExecute and set its value to 1 in the below registry entries (Most probably the registry key will not be present, create a new one)
For 32-bit versions of Office installed on 64-bit operating systems:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\9.0\Common\Internet
For 32-bit versions of Office installed on 32-bit operating systems, or 64-bit versions of Office installed on 64-bit operating systems:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\9.0\Common\Internet
Note: Even though I have 64bit Office 365 enterprise I had to set the 32bit registry key.
Links to Microsoft KB articles: Issue explanation and Solution

Default Behavior of Excel 2019 Opening a Template File

I have an .xltx document on my desktop that I use to upload conversions to Bing. On my old laptop with earlier versions of Office, double clicking the template file created a new worksheet with the data from the template. On my new laptop with Office 2019 it opens the template file itself to be edited, which I don't want to change. How do I change the behavior so that a double click on the template file opens a new sheet and not the template itself?
This was resolved by uninstalling the application and installing it again as suggested by GSerg.

Updating Excel document with macros

Using the Microsoft Graph API with Office 365, I've not been able to update a .xlsm file with macros, even if all I'm changing is a row of data.
If I open the file in the web version of Excel (Office 365) and make an editable copy and re-save
The same command for a .xlsx file is fine.
OneDrive identifies a change has happened as the modified date changes, and the desktop app re-syncs the files.
In the web version, you can create an editable version and then when you download that file to the desktop the macros still exist.
If it isn't possible to normally modify the file, is it possible to emulate this behavior?

SharePoint document library: Fail to open xlsx in Excel 2003 (with compatibility pack)

My company is using WSS 3.0 to host a document library storing (mostly) Office 2007 format documents. Company PCs have either Office 2003 (with the 2007 compatibility pack) or Office 2007 installed.
We didn't have any problem getting docx to work, but xlsx documents don't open properly when we use the SharePoint document edit options. The file opens in excel, but displays unformatted mess (close to the notepad representation). The actual files are fine, downloading the xlsx file (using the send to -> download option) allows the file to be opened. It is only when we use SharePoints 'Edit in Microsoft Excel' that we get an issue.
I think that the issue is excel (2003) trying to open the xlsx file as if it were and xls file, and being unable to represent the zipped contents. Has anyone seen this issue before?
EDIT: I've noticed that when the document is opened with explorer, it actually opens through the Microsoft open XML coverter. Clearly, SharePoint isn't using it, is there a fix that works round this?
UPDATE: I have done a bit more research, as added in the comment below this issue replicates across all machines on our network which use office 2003 and XLSX files from SharePoint. I have confirmed that using excel to open xlsx files in explorer (without the converter) results in the same issue as when they are opened from SharePoint. I think i need a way to tell SharePoint/IE (whatever actually handles the office interaction, URLMON/HLink?) that the proper file assosciation for XLSX isn't excel.exe.
Are you able to test this on another computer? Might be related to a registry entry and/or other software causing it (because you did not had problems with word). The ideal test scenario would be a brand new OS Install with only Office 2003 and the compatibility pack.

Office files stored on SharePoint 2010 do not open in client office application

I have an isolated issue with a user who has IE 11, office 2013 and is trying to open office files stored on SharePoint 2010 document libraries.
When he clicks on the document, the office application starts but does not open the document. He has to download a copy of the document and make changes locally.
Other users can open the files fine and their client instance of the office application works no problem to open the document. This behaviour is the same for any office file on the SharePoint 2010 farm. pdf files behave normally and open in acrobat. With text files notepad doesn't even appear so slightly different but still incorrect behaviour.
I have tried adding the site to his trusted sites in IE. Using Firefox and the behaviour is the same. Repaired office, same issue. All other users are OK.
Any help appreciated as I have exhausted google.

Resources