View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.newusers
[email protected] brujolito@gmail.com is offline
external usenet poster
 
Posts: 8
Default Visual Basic:Change on event

I wish to reset the properties of several worksheet controls on the
entry into a cell. The visual basic help suggests using

Sub Worksheet_Change(ByVal Target as Range)


End Sub

What is the syntax to be used here is it

Sub Worksheet_Change(ByVal .Range("C11"))?

or Sub Worksheet_Change(ByVal .Range("C11") as Range)?

Sub Worksheet_Change(ByVal ("C11") as Range)?

I am using Excel 2004 on OSX 10.4

Thanks Brujolito