Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Background macros?

Is it possible to have a macro run in the background so that a user ca
open and edit a worksheet as normal, but when they close or save tha
sheet (or exit Excel) the macro catches the action and springs to life


Basically I need it to automatically password protect al
worksheets/books that are saved.

Any tips or ideas would be appreciated.

Thanks

Stuar

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default Background macros?

hi,
from my experiences, it is not wise to run a macro in the
background while anyone is doing anything in the file.
but for your purposes i think you can put your code in the
before close event of the workbook.

-----Original Message-----
Is it possible to have a macro run in the background so

that a user can
open and edit a worksheet as normal, but when they close

or save that
sheet (or exit Excel) the macro catches the action and

springs to life.


Basically I need it to automatically password protect all
worksheets/books that are saved.

Any tips or ideas would be appreciated.

Thanks

Stuart


---
Message posted from http://www.ExcelForum.com/

.

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
Running macros in the background sp00nix[_23_] Excel Programming 1 August 16th 04 04:53 PM
Macros not appearing in the Tools Macro Macros list hglamy[_2_] Excel Programming 5 October 24th 03 09:10 AM
Suppress the Disable Macros / Enable Macros Dialog Shoji Karai Excel Programming 5 September 24th 03 03:10 AM
Runnig macros in background mode Tom Ogilvy Excel Programming 0 August 6th 03 06:49 PM
Runnig macros in background mode Chip Pearson Excel Programming 0 August 6th 03 06:47 PM


All times are GMT +1. The time now is 08:22 AM.

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

About Us

"It's about Microsoft Excel"