إيهاب عبد الحميد قام بنشر مارس 25, 2017 قام بنشر مارس 25, 2017 السلام عليكم أساتذتي وإخواني بارك الله في مجهودكم هذا الكود يكبر زوم الشاشة إذا وقفت على الخلية D1 المطلوب هو أن يتم تشغيل الكود إذا وقفت على أي خلية في العمود D وليس D1 فقط (Private Sub Worksheet_SelectionChange(ByVal Target As Range If Target.Address = "$D$1" Then ActiveWindow.Zoom = 120 Else ActiveWindow.Zoom = 80 End If End Sub
سليم حاصبيا قام بنشر مارس 25, 2017 قام بنشر مارس 25, 2017 استبدل الكود بهذا Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Column = 4 Then _ ActiveWindow.Zoom = 120 Else _ ActiveWindow.Zoom = 80 End Sub
الردود الموصى بها
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.