You probably just need to be sheet specific since it is in a module.
Sub joanne()
For i = 15 To Sheets(1).Cells(Rows.Count, "C").End(xlUp).Row
If Sheets(1).Cells(i, "C").Value > 0 Then
Sheets(1).Cells(i, "D").Value = 65
End If
Next
End Sub
change the 1 to your sheet number or name.

Signature
-John
Please rate when your question is answered to help us and others know what
is helpful.
> I copied your code into a standard module in my workbook as you
> instructed, but it does not do the intended deed.
[quoted text clipped - 24 lines]
> >
> > Put this in a standard module
Joanne - 31 Dec 2007 19:38 GMT
remove wrote:
That did not help any. Still no value dropped in row on col D. Should I
be using the column headers for cols C and D instead of just 'C' and
'D'?
The code is in a module, not on the ws or in the wb. This is correct?
Sub is named LaborRate, which I believe should be okay.
Thanks for your time on this
Joanne
> You probably just need to be sheet specific since it is in a module.
> Sub joanne()
[quoted text clipped - 6 lines]
>
> change the 1 to your sheet number or name.
John Bundy - 31 Dec 2007 20:16 GMT
The following is exactly what i used, I tried it with a $ in front, storing
as text and anything else i could think of and it worked fine. I wonder, do
you know you have to run this everytime you want 65 to appear? it does not do
this automatically, if you need that let me know. If this code does not work
for you then feel free to send me the sheet and I will see what's going on
first hand. jmbundy@gmail.com.removethis
Sub joanne()
For i = 15 To Sheets(1).Cells(Rows.Count, "C").End(xlUp).Row
If Sheets(1).Cells(i, "C").Value > 0 Then
Sheets(1).Cells(i, "D").Value = 65
End If
Next
End Sub

Signature
-John
Please rate when your question is answered to help us and others know what
is helpful.
> remove wrote:
> That did not help any. Still no value dropped in row on col D. Should I
[quoted text clipped - 17 lines]
> >
> > change the 1 to your sheet number or name.