Automating Repetitive Tasks

Macros have existed for quite some time now in applications for PCs. If recollection serves, macros were available in early versions of Quattro Pro and Lotus 1-2-3, perhaps as early as 1987. Historically macros were implemented as a token-based language with a simple grammar and keywords that represented actions in an application. More recently macros were implemented and supported by applications in Microsoft Office through programming in Visual Basic for Applications (VBA).

With the introduction of .NET, macros are available and are written using Visual Basic .NET. The same language that you write your VB .NET applications with can be used to automate repetitive tasks. Macros still use commands to represent tasks ...

Get Visual Basic® .NET Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.