![]() The difference between PerfectScript and VBA Unlike traditional procedural programming, in which the program starts at line 1 and executes line by line, event-driven programming executes code in response to events. An event is an action that is recognized by VBA for example, clicking a button or choosing an option from a list box. Most of the code you create is written to respond to an event. Visual Basic for Applications is an event-driven programming language. For example, if you are at a point in the code where a variable is about to be assigned a value, you can step into this line of code to determine the value of the variable at run-time.įor more information about VBA, see the Microsoft Visual Basic Help in the Visual Basic Editor. This feature of programming is known as single-stepping. Debugging lets you step through your code line by line to ensure that the macro executes properly. Editing a macro involves going directly to the start of the code, whereas debugging a macro involves stepping through each line of the code.ĭebugging is an extremely important part of the programming process. ![]() If the macro does not perform the desired action, you can debug the macro. You can play a project macro only from the document that was used to create it. You can program and play a project or a global VBA macro in WordPerfect. ![]() ![]() VBA is not part of the install of WordPerfect Office to use VBA, you must separately install Microsoft Visual Basic for Applications. You can, for example, create a macro in WordPerfect that changes the color of the headings. VBA is an object oriented programming language that lets you create VBA macros to automate tasks. You can use Microsoft Visual Basic for Applications (VBA) with WordPerfect Office. Integrating with Microsoft Visual Basic for Applications
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |