Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Before I implement this in my workbook, I just wanted to know if anyone sees
issues/problems with using this code. Seems to work fine. If ok, should I include error handling in the code? Both are in ThisWorkbook Private Sub Workbook_BeforeClose(Cancel As Boolean) Application.DisplayFullScreen = False Application.Quit End Sub Private Sub Workbook_Open() Application.DisplayFullScreen = True End Sub Thanks, ADK VBA Beginner |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Looks okay, but what happens if the workbook has changed, you will get a
message asking to save. Is that OK< or do you want to handle automatically? -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "ADK" wrote in message ... Before I implement this in my workbook, I just wanted to know if anyone sees issues/problems with using this code. Seems to work fine. If ok, should I include error handling in the code? Both are in ThisWorkbook Private Sub Workbook_BeforeClose(Cancel As Boolean) Application.DisplayFullScreen = False Application.Quit End Sub Private Sub Workbook_Open() Application.DisplayFullScreen = True End Sub Thanks, ADK VBA Beginner |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't like other workbooks that try to close excel. What if I have multiple
workbooks open when I close your workbook? ADK wrote: Before I implement this in my workbook, I just wanted to know if anyone sees issues/problems with using this code. Seems to work fine. If ok, should I include error handling in the code? Both are in ThisWorkbook Private Sub Workbook_BeforeClose(Cancel As Boolean) Application.DisplayFullScreen = False Application.Quit End Sub Private Sub Workbook_Open() Application.DisplayFullScreen = True End Sub Thanks, ADK VBA Beginner -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
split post code (zip code) out of cell that includes full address | Excel Discussion (Misc queries) | |||
Slow code when used as VBA code instead of macro (copying visible columns) | Excel Programming | |||
Shorten code to apply to all sheets except a few, instead of individually naming them, and later adding to code. | Excel Programming | |||
Protect Sheet with code, but then code will not Paste error. How do i get around this. Please read for explainations.... | Excel Programming | |||
Excel code convert to Access code - Concat & eliminate duplicates | Excel Programming |