Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default control button used to clear a sheet

how do i prevent users from clearing data via a control button if they
haven't printed it yet? Matt. S.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default control button used to clear a sheet

You would need to maintain a record of when they printed and if there have
been subsequent changes since then. You can use the beforeprint event to
detect that they are printing.

You can control the ThisWorkbook.Saved property to detect changes.

--
Regards,
Tom Ogilvy

"Arnie from Jasic" <Arnie from wrote in
message ...
how do i prevent users from clearing data via a control button if they
haven't printed it yet? Matt. S.



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
Clear button vdmbqb Excel Discussion (Misc queries) 5 April 6th 08 04:21 PM
clear button vdmbqb Excel Discussion (Misc queries) 1 November 24th 07 04:52 PM
Clear Button JudyP Excel Discussion (Misc queries) 2 August 5th 06 08:01 PM
Using control to clear spreadsheet dvonj Excel Discussion (Misc queries) 11 March 20th 06 10:29 AM
Clear and control the Office clipboard in Excel quartz[_2_] Excel Programming 0 February 22nd 05 08:33 PM


All times are GMT +1. The time now is 07:02 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"