وعليكم السلام ورحمة الله وبركاته
بالرغم من وضوح طلبك كان الاجدر ارفاق ملف للتطبيق عليه
الكود المرفق بسيط ويمكن تعديله
Sub TransferData()
Dim srcSheet As Worksheet, destSheet As Worksheet
Dim mapping As Variant
Dim i As Long
Set srcSheet = ThisWorkbook.Sheets("تسجيل البيانات")
Set destSheet = ThisWorkbook.Sheets("الرئيسية")
mapping = Array( _
Array("A", "A"), _
Array("B", "M"), _
Array("C", "N"), _
Array("D", "O"), _
Array("E", "X"), _
Array("F", "Z"), _
Array("G", "AA"), _
Array("H", "AE"), _
Array("I", "AF"), _
Array("J", "AJ"), _
Array("K", "AU"), _
Array("L", "AV"))
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
For i = LBound(mapping) To UBound(mapping)
With destSheet
.Columns(mapping(i)(1)).Clear
End With
Next i
For i = LBound(mapping) To UBound(mapping)
With srcSheet
.Columns(mapping(i)(0)).Copy Destination:=destSheet.Columns(mapping(i)(1))
End With
Next i
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
' MsgBox "تم نقل البيانات !", vbInformation
End Sub
ملف
استدعاء اعمدة.xlsb