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
Replacing Keyboard on Toshiba Portege A600
Syntax error (missing operator) in query expression
date input as string
VBA macro script populating cells from data source
prstat vs top command
Maxtor OneTouch 4 Family drive is no longer working
Computer won't recognize Seagate Freeagent Go 320gb
Trying to redirect a user from http to https automatically. Windows 2008 running II7
After Excel export and format can I auto email?
extracting BLOBs