السلام عليكم
لا اعلم سبب اختيار كل البوكسس مرة واحدة
لكن هنا كود تنسيق العمله
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 3 Then
Select Case Target
Case Is = "US DOLLAR"
Cells(Target.Row, "E").NumberFormat = "[$USD] #,##0.00"
Case Is = "EUR"
Cells(Target.Row, "E").NumberFormat = "[$EUR] #,##0.00"
Case Is = "AED"
Cells(Target.Row, "E").NumberFormat = "[$AED] #,##0.00"
Case Is = "QAR"
Cells(Target.Row, "E").NumberFormat = "[$QAR] #,##0.00"
End Select
End If
End Sub