Sub VERİLERİ_G?NCELLE() Application.ScreenUpdating = False Dosya_Yolu = "C:\Documents and Settings\admin\Desktop\ANA DOSYA\1" Set S1 = Workbooks("ANA DOSYA.xls").Sheets("Sayfa1") S1.Select [A2:B65536].ClearContents Set Klas?r = CreateObject("Scripting.FileSystemObject").GetFolder(Dosya_Yolu).Files For Each Dosya In Klas?r If InStr(Dosya.Name, ".xls") > 0 Then If Dosya.Name <> "ANA DOSYA.xls" Then Workbooks.Open Filename:=Dosya Sheets("Sayfa1").Select Range("E2:E" & [E65536].End(3).Row).Copy S1.Cells(65536, 1).End(3).Offset(1) Range("G2:G" & [G65536].End(3).Row).Copy S1.Cells(65536, 2).End(3).Offset(1) ActiveWorkbook.Close True End If End If Next Application.ScreenUpdating = True MsgBox "Veriler aktarılmıştır.", vbInformation End Sub
at this code it takes e and g columns only but i want to change it to range a29-fd65536 how can i do this