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 Worksheet change suddenly not working

All,

This morning, I've come in to find that the worksheet change subs on my
worksheets are not working. I enabled macros when opening the sheets and
everything was working fine last night. When I put a break point on the
first line of the sub shown below, it did not trigger - suggesting that
a change which I did make did not trigger the event.

Help much appreciated.

Will


Sub Worksheet_Change(ByVal Target As Range)
Dim cell As Range
Dim changecolumn As Integer
Dim changerow As Integer
Dim changeworker As String

On Error GoTo errhandler:
Application.ScreenUpdating = False
Application.EnableEvents = False

For Each cell In Target
changecolumn = cell.Column
changerow = cell.Row
changeworker = 0
If changecolumn = 89 Then Exit For
Call change_flag(changerow, 1000, Me, changeworker)
Next

errhandler:
Application.EnableEvents = True
End Sub


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

 
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
My formulas in excel are suddenly not working. Help! mathteacher Excel Worksheet Functions 5 April 26th 08 08:08 AM
My Excel freezes suddenly while working marwin Excel Discussion (Misc queries) 1 April 12th 06 03:10 PM
Sumproduct suddenly not working Andy Excel Discussion (Misc queries) 7 July 11th 05 10:56 PM
HELP!! Macro suddenly not working onedaywhen Excel Programming 0 February 9th 04 10:41 AM
HELP!! Macro suddenly not working rodt[_2_] Excel Programming 0 February 7th 04 06:28 AM


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