pedie
Well-known Member
- Joined
- Apr 28, 2010
- Messages
- 3,875
1. I was writing macro manually and I dotn know what I did but the cursor blink became bold and I dont know how to return that to normal cursor mode
2. Is manual way of writing macro called relative macro or othewise what is it called....?
3. I have seen someone write a macro in style like below code....it move the line in and then come out again...
do we manually do that as does it automatically happen...
because when i write the code it does not happen...
Thanks again!
2. Is manual way of writing macro called relative macro or othewise what is it called....?
3. I have seen someone write a macro in style like below code....it move the line in and then come out again...
do we manually do that as does it automatically happen...
because when i write the code it does not happen...
Code:
Sub try2()
With Sheet1
lr = .Cells(Rows.Count, "A").End(xlUp).Row
For i = 2 To lr
If .Cells(i, "D").Value >= .Cells(2, "H").Value Then
.Range("A" & i & ":G" & lr).Copy Sheets("Home").Range("A1")
Exit For
End If
Next i
End With
End Sub