![]() To define a structure or UDTs in VBA we use Type_End Type block. In this article, we will learn how you can create your own data type in VBA. For this we can use defined data types of VBA. How about creating a data type of student, teacher, classes, etc that stores values related to them. Now having different variables for each entity in school will be messy work. Similarly, there will be many other objects like, librarian, classes, principle etc. A school also has teachers, so there will be teacher names, teacher subject, classes, etc. ![]() Here, you will have different types of variables like student name, student roll no, class, etc. ![]() Let's say you are trying to create a school management system. ![]()
0 Comments
Leave a Reply. |