Thread: IF Statements
View Single Post
  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

Option Explicit

Private Sub Worksheet_Calculate()
If Range("C17") 500 Then
Range("I17").Select
End If
End Sub

'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.


--
HTH

Bob Phillips

"Bob Phillips" wrote in message
...
Rick,

I'll have a go at some later today.

--
HTH

Bob Phillips

"Rick Scott via OfficeKB.com" wrote in message
...
Bob,
Do you know if there is a VBA that is somewhat written that would

perform
this? Even though I've worked with VBA I also know that if you are off

by
one statement it won't work.

Thanks,
Rick

--
Message posted via http://www.officekb.com