VBA / Office

VBA / Office

Extracting IDs and Emails from Logs Using Only Excel: Using REGEXEXTRACT and REGEXREPLACE

Learn how to read regular expressions by extracting IDs from dummy logs and masking emails using Excel's REGEXEXTRACT and REGEXREPLACE.
VBA / Office

Making Monthly CSVs Resilient to Column Name Changes — Handling Column Variations with Power Query M

Standardize column name variations such as employee codes and IDs using Power Query M, and fill in missing columns with null. Inputs with ambiguous multiple candidate columns are safely stopped.
VBA / Office

Splitting Strings with Excel TEXTBEFORE / TEXTAFTER: Changing a Single Delimiter for Observation

Reviewing string splitting with Excel TEXTBEFORE / TEXTAFTER for practical business use cases.
VBA / Office

Creating Master Candidates with Excel UNIQUE + SORT: Check for Duplicates Without Deleting Originals

Use UNIQUE and SORT to generate a duplicate-free list while keeping the original data intact, and observe the changes when adding a single entry.
VBA / Office

Safely Handling 0 Results with Excel FILTER: Trying the Third Argument if_empty

Explicitly handle the case of 0 results in the FILTER function using the third argument if_empty, and observe the difference from #CALC!.
VBA / Office

Finding Unregistered Data with Excel XLOOKUP

Check for missed reconciliations using the unmatched display feature of XLOOKUP.
VBA / Office

Breaking down long formulas with the Excel LET function: How to verify intermediate results step by step

Try using the LET function to assign names to intermediate results and verify long Excel formulas one step at a time.
VBA / Office

Preventing monthly CSV failures from changing column names: Handling column name variations with Power Query M

We test a monthly CSV import process that standardizes only permitted column name variations in Power Query M while ensuring missing columns or unknown changes are not overlooked.
VBA / Office

Can you create custom events in VBA? Trying out Class, WithEvents, and RaiseEvent with minimal code

Observe a minimal event-driven setup where a custom event is declared in a VBA Class Module, raised with RaiseEvent, and handled with WithEvents.
VBA / Office

Dictionary is Convenient for Counting Duplicates in VBA — Aggregate Securely Without References

Use Scripting.Dictionary with Late Binding to aggregate duplicate values in column A. Output results to a dedicated sheet to prevent accidental deletion of input data.