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: 161
Default Worksheet chnage event

Hi,

I have the following triggered by a worksheet change (there's some other
stuff before this line, but that's all working) which causes an error:

Case Is = "Open"
Range("a" & Target.Row & ":ac" & Target.Row).Select
With Selection.Interior
.ColorIndex = xlNone
End With
Range("o" & Target.Row & ":q," & Target.Row & "t" &
Target.Row_ & ":v," & Target.Row & "z" & Target.Row & ":ab" &
Target.Row).Select
With Selection
.Value = ""
End With
End Select

The error is being generated at the line Range("o" & Target.Row & <etc etc)
and is "Run-time error 1004: Method 'Range' of object '_Worksheet' failed

Can someone please tell me what tis means and how I fix it?

TIA

Dave
 
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
Worksheet Chnage....still need help please Brettjg Excel Programming 4 April 9th 09 12:44 PM
chnage from average to sum(or count) Jim Excel Discussion (Misc queries) 3 January 9th 09 07:19 PM
chnage pronounsaction in speech recongnition santosh Excel Programming 0 March 17th 08 06:58 AM
Event Procedures: Event on Worksheet to fire Event on another Worksheet Kathryn Excel Programming 2 April 7th 04 07:35 PM


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