uday
Member
Hi All,
In the attached file there are two columns contain data which are column A and column B. I want to copy the same data from column A and B to column C , D.
I do not want put any "=A","=B" (link function) in column C,D. Column A,B data can be increase and decrease. It will only copy the data which are reflecting in column A and B.
I am trying to do it by finding last row data VBA coding but when its increase or decrease I can not able do the same,
ref.
Sub LastRow()
range("A2").Select
Activecell.end(xldown).select
End Sub
I want modify it.
In the attached file there are two columns contain data which are column A and column B. I want to copy the same data from column A and B to column C , D.
I do not want put any "=A","=B" (link function) in column C,D. Column A,B data can be increase and decrease. It will only copy the data which are reflecting in column A and B.
I am trying to do it by finding last row data VBA coding but when its increase or decrease I can not able do the same,
ref.
Sub LastRow()
range("A2").Select
Activecell.end(xldown).select
End Sub
I want modify it.