How to convert color codes (RGB, HSL, HSV, Hex, Long, CMYK)

Convert Color Codes - Featured image

I often find myself converting between different formats of color codes; especially from hex to RGB and back again. Rather than firing up Google and searching for color conversion tools online, I decided to write my own User Defined Functions in Excel, now I can calculate the result within a worksheet instead. The functions in this … Read more

Private vs Public Subs, Variables & Functions in VBA

Public Vs Private

When writing VBA macros, the concept of Private or Public is important. It defines how VBA code within one module can interact with VBA code in another module. This concept applies to both Private Subs and Private Functions. As a simple analogy – on social media, you can set parts of your profile so that everybody … Read more

VBA protect and unprotect Sheets (25+ examples)

VBA Code Snippets

Protecting and unprotecting sheets is a common action for an Excel user. There is nothing worse than when somebody, who doesn’t know what they’re doing, overtypes essential formulas and cell values. It’s even worse when that person happens to be us; all it takes is one accidental keypress, and suddenly the entire worksheet is filled with … Read more