Davey Gale
02-24-2005, 06:12 AM
Hi there
We have developed a quote calculator for somebody in Microsoft Excel. It's very simplistic. (it is protected so changes cant be made - apart from drop down menus). The guy we're doing it for wants the Save feature to be disabled so when excel is closed it doesnt bring up the save option. Therefore each time the file is opened the drop downs are in their original state.
We put a macro in that stops the package from asking it to save. It is:
Private Sub Workbook_BeforeClose(Cancel As Boolean )
Application.DisplayAlerts = False
ThisWorkbook.Saved = True
Application.DisplayAlerts = False
End Sub
However this macro doesnt work online because the file is opened within a web browser - and not from within Excel itself. Does anyone know how i can mirror this same fuctionality through the web, and not just if the file was being ran through the excel package??
I've tried to work out how to have the file open within Excel itself and not embeded in a web browser - but to no avail. See thread: http://www.webhostingtalk.com/showthread.php?s=&threadid=378148
I hope this makes sense? Thanks.
We have developed a quote calculator for somebody in Microsoft Excel. It's very simplistic. (it is protected so changes cant be made - apart from drop down menus). The guy we're doing it for wants the Save feature to be disabled so when excel is closed it doesnt bring up the save option. Therefore each time the file is opened the drop downs are in their original state.
We put a macro in that stops the package from asking it to save. It is:
Private Sub Workbook_BeforeClose(Cancel As Boolean )
Application.DisplayAlerts = False
ThisWorkbook.Saved = True
Application.DisplayAlerts = False
End Sub
However this macro doesnt work online because the file is opened within a web browser - and not from within Excel itself. Does anyone know how i can mirror this same fuctionality through the web, and not just if the file was being ran through the excel package??
I've tried to work out how to have the file open within Excel itself and not embeded in a web browser - but to no avail. See thread: http://www.webhostingtalk.com/showthread.php?s=&threadid=378148
I hope this makes sense? Thanks.
