LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disable a macrobutton for a particular cell change?


I am working on an excel database type file in which the master sheet is
used as data entry form and the values are stored in other sheets
designated for the particular month in the respective columns(one
column for one day)
Master sheet date is changed by calendar control and the calendar value
is used to get the name of the database sheet and the column.(December
2005, selected column etc)
After entering the values in the master sheet, the user either presses
a macro button named store or a toolbar button also named store.
User can also retrieve data by changing the date to required and
pressing a button named retrieve.
This is where the trouble starts! *If the user changes the date and
presses store instead of pressing retrieve, then the old data which is
already there in the database is lost!*
Is there anyway to disable the store button using the worksheet change
event, i.e., if the cell containing date is changed, the store button
should be disabled temporarily so that user can not by mistake click
it?
Hope I have explained my case clearly


--
lotus
------------------------------------------------------------------------
lotus's Profile: http://www.excelforum.com/member.php...o&userid=23759
View this thread: http://www.excelforum.com/showthread...hreadid=493216

 
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
disable brian baulsom's worksheet change based on cell value. jat Excel Worksheet Functions 2 April 22nd 09 07:16 AM
how to disable listbox change event Tom Ogilvy Excel Programming 0 July 27th 04 05:55 PM
Enable/Disable Worksheet Change Event code Stuart[_5_] Excel Programming 2 November 3rd 03 07:22 PM
Disable Change Event in Form No Name Excel Programming 5 October 31st 03 08:23 PM
Disable Worksheet change event Tim[_14_] Excel Programming 4 July 15th 03 01:27 AM


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