Microsoft IE open dialog Box and Microsoft Edge Open Dialog Box Different in behavior need help

Malik Mehmood 1 Reputation point
2021-04-06T16:06:26.643+00:00

We have ASP.Net application - User click on a link and system show and an open dialog box with FROM (URL) as label - User then click OPEN. Excel file open in EXCEL as READ-only- Excel File Path shows the URL path and this URL path then use to run VBA code.

In Microsoft Edge
This behavior change and OPEN action save the file in the local system in a GUID folder - Open in EXCEL as READ-WRITE mode and path show the local drive. Further actions will not run as the EXCEL file path is no longer belongs to the URL.

There are 10 Thousand EXCEL online files and many off line files. Hence we can't change application logic. Does anyone face the same issue and have any ? solution/suggestion?

Please note that it work fine in IE Compaitable mode but we want to run app in NON IE Compaitable mode.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,210 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,521 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Cheong00 3,471 Reputation points
    2021-04-07T02:30:54.897+00:00

    If no other things work, you can always add Content-Disposition: attachment; filename="filename.xlsx" header to let user save it in ordinary local folder before open it. Your VBA scripts should continue to work this way.