VBA String Functions: Left, Mid, InStr, Replace, Split and More
Excel VBA course lesson 8: clean and reshape text with VBA — Len, Left, Right, Mid, InStr, InStrRev, Replace, Trim, UCase/LCase, StrConv, Split/Join, Like…
Read article →Excel, SAP, Oracle & automation tips — plus wacky facts
Excel VBA course lesson 8: clean and reshape text with VBA — Len, Left, Right, Mid, InStr, InStrRev, Replace, Trim, UCase/LCase, StrConv, Split/Join, Like…
Read article →Excel VBA course lesson 7: read VBA error messages, step through code with F8, use breakpoints, the Immediate and Locals windows, Debug.Print, and handle…
Read article →DSTDEV returns the sample standard deviation of a field for matching records. Like all D-functions it uses a database range and a criteria range…
Read article →Excel VBA course lesson 6: repeat work with For…Next, Step, For Each over ranges and sheets, Do While/Until loops, Exit For, nested loops and…
Read article →RANK still works for compatibility and behaves exactly like RANK.EQ. New workbooks should use RANK.EQ or RANK.AVG.
Read article →Excel VBA course lesson 5: five small, reusable macros explained line by line — every Nth row with Mod, second-highest value, sum by fill…
Read article →Excel VBA course lesson 4: make macros decide with If…Then…Else, ElseIf, And, Or and Not, check empty and error cells, and replace long If…
Read article →DPRODUCT multiplies the values of a field for matching records (rarely needed; e.g. compounding growth factors). Like all D-functions it uses a database range…
Read article →Excel VBA course lesson 3: format reports with VBA — fonts, fill colours with RGB, borders, alignment, number formats for Indian rupees and dates,…
Read article →BYROW runs a LAMBDA on each row of an array and returns one result per row — row totals, row maximums, row checks.
Read article →Excel VBA course lesson 2: refer to cells with Range and Cells, find the last row and column, move with Offset, grow selections with…
Read article →Excel VBA course lesson 1: open the VBA editor, write your first macro, declare variables with Dim, choose the right data type (Long, Double,…
Read article →The brain uses about 20% of the body’s energy.
Although it is only around 2% of body weight, the brain consumes roughly a fifth of the body’s energy at rest.