Hello,
here is my Code
[VBA]
Public bookname As String
Sub Macro2()
Dim Current As Worksheet
For Each Current In Worksheets
Windows([bookname]).Activate
Sheets(Current.Index).Select
Range("B1:B700").Select
Selection.Copy
Windows("matching_file.xls").Activate
' Selection.Insert Shift:=xlDown
'Range("A3:B3").Select
'Selection.Insert Shift:=xlDown
'Range("A3").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Next
Columns("A:A").Select
Application.CutCopyMode = False
Selection.Sort Key1:=Range("A1"), Order1:=xlDescending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
End Sub
[/VBA]
Problem :- problem i am facing that if i use Range("A1").select & then Insert a Row (in run time) it gives me error
is this possible that i shouyldnot Insert New Row, but it will Append Data from last Unused row
i hope you got my point!
regards,