Microsoft
Software
Hardware
Network
Question : Excel 2010 - Workbook_Close()
I am trying to use the following code in 'ThisWorkbook'. The problem I am having is that it is not running the code on closing the workbook. I am just getting the normal do you wish to save changes question, which I always get, and the code below appears to be being ignored as it is not saving and not resorting.
Private Sub Workbook_Close()
ActiveSheet.Range("$A$1:$S
$2964").Au
toFilter Field:=1
ActiveWorkbook.Save
End Sub
Anyone?
Answer : Excel 2010 - Workbook_Close()
Try the BEFORE CLOSE event.
Scott C
Random Solutions
How to enable workstation users to install software through GPO using SBS 2008
GridView control scroll bars are not visible on page reload
Crystal cross-tab page numbering
Server Error in '/Reports' Application in SQL Server Reporting Services
AJAX Refresh on Submit of Pop Up Window
Event ID 12293 Security -SPP Publishing key management service Error#0x8007232D
XY Chart Label feature
SQL Stored Procedure pass in a list
javax.servlet.jsp.JspExcep
tion: Cannot retrieve definition for form bean null on action
Exchange 2003 Email Delays