Basics of VBA / Macros Chapter – 3 (Declaring Variables Part-1)
Here we learn how to declare, initialize and display a variable in Excel VBA. To tell that we are using a variable is called…
Read article →Excel, SAP, Oracle & automation tips — plus wacky facts
Step-by-step VBA lessons and ready-to-use macros.
Here we learn how to declare, initialize and display a variable in Excel VBA. To tell that we are using a variable is called…
Read article →With VBA you can automate tasks in Excel by writing so called macros. We will learn how to create a simple macro which will be…
Read article →VBA full form is Visual Basic for Applications. It is the programming language of Excel and other Office programs. Points to be learned for…
Read article →This example teaches you how to swap two values in Excel VBA. You will often need this structure in more complicated programs
Read article →A complete VBA project: fill an invoice template from a data sheet, export each invoice to PDF with a proper file name, and email…
Read article →Run-time error 1004 is Excel VBA’s catch-all error. Here are the 7 causes I see most often — with the exact fix for each.
Read article →Five ways to find the last used row in Excel VBA — End(xlUp), UsedRange, Find, CurrentRegion and ListObject — with the traps each one…
Read article →Step-by-step: enable SAP GUI Scripting, record a transaction, and run it from Excel VBA to export a report automatically.
Read article →Process every file in a folder with VBA: Dir loops, picking a folder with FileDialog, opening workbooks quietly, copying data into a master sheet…
Read article →Excel VBA course lesson 14: when to use a Collection or a Scripting.Dictionary, build unique lists, count and total by key, look up values…
Read article →Excel VBA course lesson 13: design a UserForm, fill combo boxes from a sheet, validate inputs, write a new row to a table, and…
Read article →Excel VBA course lesson 12: Workbook_Open, Worksheet_Change, SelectionChange and BeforeSave events — timestamps when a cell is edited, auto-uppercase codes, validation, and how to…
Read article →Your body replaces most of your red blood cells every few months.
Red blood cells live about 100–120 days. Your bone marrow makes millions of new ones every second to replace them.