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


i have written a bit of program to do the following,

if the active cell is changed to a cirtain value, say 10,
Worksheet_SelectionChange program changes the colour of a group of
cells and put borders around that group of cells.

when i run a seperate macro which copies values from another sheet into
the active sheet, the Worksheet_SelectionChange program stops
working??

the only way to get the Worksheet_SelectionChange program to start
working again is to save and close xl and open it again.

why does the Worksheet_SelectionChange program stop working and is it
possible to enable it again somehow??

thanks.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Worksheet_SelectionChange stops working

do you have code that disables events?

this is the most likely scenario. Make sure any code that disables events
enables them again under any situation.

--
Regards,
Tom Ogilvy

jlr_nz wrote in message
...

i have written a bit of program to do the following,

if the active cell is changed to a cirtain value, say 10,
Worksheet_SelectionChange program changes the colour of a group of
cells and put borders around that group of cells.

when i run a seperate macro which copies values from another sheet into
the active sheet, the Worksheet_SelectionChange program stops
working??

the only way to get the Worksheet_SelectionChange program to start
working again is to save and close xl and open it again.

why does the Worksheet_SelectionChange program stop working and is it
possible to enable it again somehow??

thanks.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly 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
IF just STOPS WORKING Gee Excel Worksheet Functions 21 August 6th 09 05:26 PM
Vlookup stops working??? Steve Peel Excel Worksheet Functions 0 September 19th 08 07:08 PM
VLOOKUP stops working at row 13 Ann Scharpf Excel Worksheet Functions 4 August 23rd 07 03:45 PM
Autofilter Stops Working Vliegveld Excel Worksheet Functions 7 September 7th 05 01:19 AM
Worksheet_SelectionChange not working Bo Rasmussen New Users to Excel 1 December 13th 04 02:34 PM


All times are GMT +1. The time now is 05:15 PM.

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"