Professional Excel Development [Electronic resources] : The Definitive Guide to Developing Applications Using Microsoft® Excel and VBA® نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Professional Excel Development [Electronic resources] : The Definitive Guide to Developing Applications Using Microsoft® Excel and VBA® - نسخه متنی

Stephen Bullen, Rob Bovey, John Green

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید











Conclusion


Whenever we create a class module in VBA, the compiler creates both the class and a default interface for it. The code in the class defines how the object behaves, and the interface defines how we access the code. With a small amount of effort, we can define our own custom interfaces and implement them in our classes, enabling us to treat different classes as if they were the same type of object.

When developing userforms, we can use a custom interface to expose only the properties and methods that apply to the functionality we're providing, without cluttering the IntelliSense list with all the basic userform's properties. By doing this, we can make our code more generic, more robust, more reliable, easier to write and easier to maintain.

By implementing a standard custom interface in all our forms, reports and processes, we can design an application architecture that is totally extensible, without requiring any changes to the core application. If working in a multideveloper team, this interface can be extended across workbooks, allowing each developer to work independently on the application's functions, safe in the knowledge that his work will not directly impede any of the other developers.


/ 225