Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to deactivate cells without macro references

How to deactivate cells which are not used by macro but when I change
something there most of my macros start running.
I can do changes only when I switch to design mode.
How to make so, that the changes in the cells wouldn't start macro?
And how to do so, that when I change a value in drop-down menu which doesn't
contain macros it wouldn't start macros of another drop-down menu?

Thank you for the help!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default How to deactivate cells without macro references

If you're designing this workbook, maybe just disabling events (temporarily)
would be sufficient.

Alt-f11 (to get to the VBE where macros live)
ctrl-g (to see the immediate window)
Type this and hit enter:

application.enableevents = false

Change it to true when you're ready to test your workbook.



Adomas wrote:

How to deactivate cells which are not used by macro but when I change
something there most of my macros start running.
I can do changes only when I switch to design mode.
How to make so, that the changes in the cells wouldn't start macro?
And how to do so, that when I change a value in drop-down menu which doesn't
contain macros it wouldn't start macros of another drop-down menu?

Thank you for the help!


--

Dave Peterson
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
Deactivate a macro when used and reactivate again Ber Excel Discussion (Misc queries) 1 April 23rd 10 04:35 PM
activate/deactivate macro depending on who's the user anna Excel Discussion (Misc queries) 3 January 24th 10 11:11 PM
How do you deactivate cells in Excel? admslg Excel Discussion (Misc queries) 1 November 27th 08 02:03 PM
Help with converting a block of cells with Absolute and mixed references to relative references Vulcan Excel Worksheet Functions 3 December 13th 07 11:43 PM
activate/deactivate button with macro at given condition arcq Excel Programming 1 March 17th 05 05:35 AM


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