صـدّيـق قام بنشر سبتمبر 9, 2017 قام بنشر سبتمبر 9, 2017 ماهي طريقة تعميم هذا الكود على جمعيع الصفحات ؟؟؟؟ Private Sub Worksheet_Change(ByVal Target As Range) If Target.Columns.Count = Columns.Count Then Application.EnableEvents = False MsgBox "Non, non, suppréssion ligne annulée" Application.Undo Application.EnableEvents = True End If End Sub
هانى محمد قام بنشر يناير 15, 2018 قام بنشر يناير 15, 2018 (معدل) .... تم تعديل يناير 15, 2018 بواسطه هانى محمد
بن علية حاجي قام بنشر يناير 15, 2018 قام بنشر يناير 15, 2018 السلام عليكم ورحمة الله أن تكتبه بالشكل التالي: Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range) If Target.Columns.Count = Columns.Count Then Application.EnableEvents = False MsgBox "Non, non, suppression de ligne annulée" Application.Undo Application.EnableEvents = True End If End Sub وتضعه في كود حدث ThisWorkbook بن علية حاجي 1
الردود الموصى بها
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.