• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Open Excel macro enabled FILE and Edge Chromium

MalikMehmood

New Member
Internet Explorer open XLSM file open directly in EXCEL and when we check EXCEL Book path - It indicate https path link. In Chrome it download file in GUI folder and EXCEL book path show local folder path . Is there any way open Excel file in NONE-IE mode of Microsoft Edge Chromium to open EXCEL file with path point to https link.​
Or​
How to open an EXCEL macro enabled file in EXCEL - I want to see that EXCEL open and still show path to it's original web link.​
We HIT a MAJOR BLOCKER due to IE open dialog box misbehave.​
Code:
ASP.NET



Sample Code 1:



string downloadpath = "https://......./folder/filename.xlsm";

system.diagonastics.process.start (download path);





Sample Code 2

Public Void ProcessRequest(HttpContext context)

{

HttpResponse  response = HttpContext.Current.Response

HttpReqeust request = context.Request;

string session = HttpContext.Current.Session.SessionID;

.....

.....

.....

response.ClearContent();

response.ClearHeaders();

response.Buffer = true;

response.ContentType = file.ContentType

response.BinaryWrite (file.FileData);

response.AddHeader("Content-Disposition","FileName=Somefilename.xlsm");

response.Flush();

}
 
Back
Top