ajetrumpet
Banned
- Local time
- Today, 00:11
- Joined
- Jun 22, 2007
- Messages
- 5,638
hi guys,
If anyone is looking at this that read my last post here, I finally figured out that I cannot split column widths on a page. Life goes on I guess...
I wonder if someone can provide me a little snippet for my problem on this one....currently I have the following...
I'm not sure if there is ever going to be a break in the records of the sheet (as in "no data for the seventh column)....so I need to get rid of this...I have to substitute RANGE for CELLS, but I'm not quite sure how to finish...here is what I have so far...
Can someone give me a boost please?? Do I even need to mess with the range, or should I be looking at maybe "For, Next"?? I have a module that uses RANGE(["range"].End(xldown)) to specify the length of a column in another worksheet module, but I'm not sure if I can use that here. Thanks!
If anyone is looking at this that read my last post here, I finally figured out that I cannot split column widths on a page. Life goes on I guess...
I wonder if someone can provide me a little snippet for my problem on this one....currently I have the following...
Code:
Sub RhondaWork()
Dim LOOPROW As Long
LOOPROW = 2
Do Until Len(Cells(LOOPROW, 7).Value) = 0
If Cells(LOOPROW, 7).Value < Cells(LOOPROW, 8).Value Then
Cells(LOOPROW, 7).Value = 0
End If
LOOPROW = LOOPROW + 1
Loop
End Sub
Code:
Sub RhondaWork2()
If Range("G2") < Range("H2") Then
Range("G2") = 0
[color=red]"what goes here"??[/color]
End If
End Sub
Last edited: