VBA - Visual Basic for Applications
With this collection of articles I want to build a wiki for myself as well as others.
The goal is to build not only a little framework for Excel VBA, but also a collection of general tips and hints on issues I experienced working with Excel and Visual Basic for Excel.
Once completed, I am guessing it never will be, this will serve me well. Like my wife always says, I am "Mr. Forgetful" and a "Lazy Bum".
Yes dear, I love you too.
And it's true, good programmers are lazy!
- Hits: 5368
Ever since I am working in roles providing technical support for Identity and Access Governance, I am often confronted with the need of printing and archiving a lot of mails for audit trail.
I do despite this task not only because it is annoying but also because there are much better ways for documenting audit proof history than using a document based system.
Anyway ... Since this task is annoying I wrote a little script in VBA to print all selected emails.
Source Code
This will go into a class called PdfPrinter. It utilizes MS Word in order to print /convert emails to PDF.
Utilizing MS Word is not the best option since the other Application has to be handled properly in order to close Word properly after the job is done. Else you are facing lost references and the application stays open in RAM and the user does not even see it is still running.
- Hits: 5290
Recently a collegue had to import a SharePoint list into Excel for automated processing.
Below you can find the source code that I provided him with as an example.
Source Code
- Hits: 5335
Subcategories
Excel VBA Article Count: 30
This category will hold articles regarding developement in Excel VBA. It will serve as a wiki and an Excel VBA Framework for myself.
Some development tasks reoccur for every customer. Since I am a lazy bum it will be nice to have a central source where I can reuse source code from.
MS Office and VBA Article Count: 11
This category holds articles regarding general things in MS Office VBA independent from the MS Office application.
Power Point VBA Article Count: 1
Access VBA Article Count: 7
This category holds articles regarding Access VBA, but also general things I come accross Access and its usage in companies.
Access VBA DAO Article Count: 2
Page 9 of 17