Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Save workbook needs to be added Please

this.Activate
Save
wb_exit:

etc.

--

Vasant


"Steved" wrote in message
...
Hello from Steved

When I use the close button could the below have added please "save"
Thankyou.

Private Sub Workbook_SheetDeactivate(ByVal Sh As Object)
Dim this As Worksheet
On Error GoTo wb_exit
Application.EnableEvents = False
Set this = ActiveSheet
Sh.Activate
Range("A5").Activate
this.Activate
wb_exit:
Application.EnableEvents = True
End Sub



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 519
Default Save workbook needs to be added Please

Thankyou.

"Vasant Nanavati" wrote:

this.Activate
Save
wb_exit:

etc.

--

Vasant


"Steved" wrote in message
...
Hello from Steved

When I use the close button could the below have added please "save"
Thankyou.

Private Sub Workbook_SheetDeactivate(ByVal Sh As Object)
Dim this As Worksheet
On Error GoTo wb_exit
Application.EnableEvents = False
Set this = ActiveSheet
Sh.Activate
Range("A5").Activate
this.Activate
wb_exit:
Application.EnableEvents = True
End Sub




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
could not save all data and formatting you recently added Patricia D Excel Discussion (Misc queries) 0 November 5th 08 05:45 AM
Excell docs save with a 1 added on. Kennyb Excel Discussion (Misc queries) 5 July 13th 08 12:45 AM
Excel could not save all the data and formatting you recently added Amedee Van Gasse Excel Discussion (Misc queries) 2 August 1st 07 01:50 PM
Can Save be added to this! Bob[_2_] Excel Worksheet Functions 3 February 19th 07 11:11 PM
I've added hyperlinks to cells, but when I save the file they don' Dr. Darrell Excel Discussion (Misc queries) 1 December 18th 06 06:53 PM


All times are GMT +1. The time now is 07:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"