Topics

  • AI Tools (2)
  • AutoHotkey (1)
  • Automation (3)
  • Build Your Own LLM (5)
  • Charts & Dashboards (2)
  • Deep Learning (1)
  • Essbase (3)
  • Excel Formulas (11)
  • Excel VBA (104)
  • Formula Combos (5)
  • Fun Facts (8)
  • Google Workspace (1)
  • History (3)
  • Internet & Browser (2)
  • Java (2)
  • JavaScript (2)
  • LLMs (4)
  • Machine Learning (5)
  • Office Scripts (1)
  • Oracle EPM Cloud (1)
  • Oracle Smart View (3)
  • Outlook (4)
  • Phone (2)
  • Power Automate (2)
  • Power Query & Pivots (3)
  • PowerPoint (3)
  • PowerShell (1)
  • Productivity (3)
  • Prompt Engineering (1)
  • Python (4)
  • Python Automation (2)
  • R (2)
  • RAG & Agents (2)
  • Rust (1)
  • SAP (6)
  • SAP GUI Scripting (3)
  • Science (3)
  • Security & Privacy (2)
  • SQL (3)
  • Tech Tips (1)
  • Windows (3)
  • Word (3)

Recent posts

  • Essbase Explained: Cubes, Dimensions and Why Finance Teams Love It
  • 5 Ways to Find the Last Row in Excel VBA (and When Each One Fails)
  • SAP SE16N and SQVI: Pull Table Data Without ABAP
  • Automate SAP from Excel: Run a Report and Export It with SAP GUI Scripting
  • LET and LAMBDA: Write Your Own Excel Functions (No VBA)
  • Why Do We Have Leap Years? (And Why 1900 Was Not One)

AJ's Techie & Wacky World

Excel, SAP, Oracle & automation tips — plus wacky facts

Menu

Skip to content
  • Excel
    • Charts & Dashboards
    • Excel Formulas
    • Excel VBA
    • Formula Combos
    • Power Query & Pivots
    • Excel VBA Course
  • Office
    • Google Workspace
    • Outlook
    • PowerPoint
    • Word
  • Coding
    • Java
    • JavaScript
    • PowerShell
    • Python
    • R
    • Rust
    • SQL
  • AI & ML
    • AI Tools
    • Build Your Own LLM
    • Deep Learning
    • LLMs
    • Machine Learning
    • Prompt Engineering
    • RAG & Agents
    • Build Your Own LLM Course
  • SAP & Oracle
    • Essbase
    • Oracle EPM Cloud
    • Oracle Smart View
    • SAP
  • Automation
    • AutoHotkey
    • Office Scripts
    • Power Automate
    • Python Automation
    • SAP GUI Scripting
  • Tech Tips
    • Internet & Browser
    • Phone
    • Productivity
    • Security & Privacy
    • Windows
  • Wacky World
    • Fun Facts
    • History
    • Science
    • All Wacky Facts
  • Tools
    • VBA Playground
    • Formula Lab
    • VBA Bug Hunt
    • Macro Recorder
    • SQL Playground
    • Date & Workday Calculator
    • Excel Shortcut Trainer
    • VBA Quiz
    • Formula Explainer
    • EMI & SIP Calculator
    • Regex Tester
    • CSV to SQL Converter
    • VBA Code Formatter
    • Office Shortcut Finder
  • About
  • Projects

Category Archives: Excel VBA

Step-by-step VBA lessons and ready-to-use macros.

Basics of VBA / Macros Chapter – 68 (Application Object Part-1)

7 Aug 2017 ¡ Excel VBA ¡ 3 min read

Basics of VBA / Macros Chapter – 68 (Application Object Part-1)

Application Object The mother of all objects is Excel itself. We call it the Application object. The application object gives access to a lot of…

Read article →
7 August 2017 by Atul Vij Excel VBA

Basics of VBA / Macros Chapter – 67 (Function and Sub Part-5)

7 Aug 2017 ¡ Excel VBA ¡ 2 min read

Basics of VBA / Macros Chapter – 67 (Function and Sub Part-5)

ByRef and ByVal You can pass arguments to a procedure (function or sub) by reference or by value. By default, Excel VBA passes arguments by reference. As always, we…

Read article →
7 August 2017 by Atul Vij Excel VBA

Basics of VBA / Macros Chapter – 66 (Function and Sub Part-4)

7 Aug 2017 ¡ Excel VBA ¡ 2 min read

Basics of VBA / Macros Chapter – 66 (Function and Sub Part-4)

Volatile Functions By default, UDF's (User Defined Functions) in Excel VBA are not volatile. They are only recalculated when any of the function's arguments change. A volatile…

Read article →
7 August 2017 by Atul Vij Excel VBA

Basics of VBA / Macros Chapter – 65 (Function and Sub Part-3)

7 Aug 2017 ¡ Excel VBA ¡ 2 min read

Basics of VBA / Macros Chapter – 65 (Function and Sub Part-3)

Custom Average Function Below we will look at a program in Excel VBA which creates a User Defined Function that calculates the average of a randomly selected range excluding…

Read article →
7 August 2017 by Atul Vij Excel VBA

Basics of VBA / Macros Chapter – 64 (Function and Sub Part-2)

7 Aug 2017 ¡ Excel VBA ¡ 2 min read

Basics of VBA / Macros Chapter – 64 (Function and Sub Part-2)

User Defined Function Below we will look at a program in Excel VBA that creates a User Defined Function. Excel has a large collection of functions. In…

Read article →
7 August 2017 by Atul Vij Excel VBA

Basics of VBA / Macros Chapter – 63 (Function and Sub Part-1)

7 Aug 2017 ¡ Excel VBA ¡ 2 min read

Basics of VBA / Macros Chapter – 63 (Function and Sub Part-1)

Function and Sub The difference between a function and a sub in Excel VBA is that a function can return a value while a sub cannot. Functions and subs become…

Read article →
7 August 2017 by Atul Vij Excel VBA

Basics of VBA / Macros Chapter – 62 (Arrays Part-5)

7 Aug 2017 ¡ Excel VBA ¡ 1 min read

Basics of VBA / Macros Chapter – 62 (Arrays Part-5)

Size of an Array To get the size of an array in Excel VBA, you can use the UBound and LBound functions. Place a command button on your worksheet…

Read article →
7 August 2017 by Atul Vij Excel VBA

Basics of VBA / Macros Chapter – 61 (Arrays Part-4)

7 Aug 2017 ¡ Excel VBA ¡ 1 min read

Basics of VBA / Macros Chapter – 61 (Arrays Part-4)

Month Names Below we will look at a program in Excel VBA which creates a User Defined Function that uses the Array function to return the names of the…

Read article →
7 August 2017 by Atul Vij Excel VBA

Basics of VBA / Macros Chapter – 60 (Arrays Part-3)

7 Aug 2017 ¡ Excel VBA ¡ 1 min read

Basics of VBA / Macros Chapter – 60 (Arrays Part-3)

Array Function The Array function in Excel VBA can be used to quickly and easily initialize an array. Place a command button on your worksheet and add the following code…

Read article →
7 August 2017 by Atul Vij Excel VBA

Basics of VBA / Macros Chapter – 59 (Arrays Part-2)

7 Aug 2017 ¡ Excel VBA ¡ 2 min read

Basics of VBA / Macros Chapter – 59 (Arrays Part-2)

Dynamic Array If the size of your array increases and you don't want to fix the size of the array, you can use the ReDim…

Read article →
7 August 2017 by Atul Vij Excel VBA

Basics of VBA / Macros Chapter – 58 (Arrays Part-1)

7 Aug 2017 ¡ Excel VBA ¡ 2 min read

Basics of VBA / Macros Chapter – 58 (Arrays Part-1)

Array An array is a group of variables. In Excel VBA, you can refer to a specific variable (element) of an array by using the array name and the…

Read article →
7 August 2017 by Atul Vij Excel VBA

Basics of VBA / Macros Chapter – 57 (Events Part-6)

8 Mar 2017 ¡ Excel VBA ¡ 2 min read

Basics of VBA / Macros Chapter – 57 (Events Part-6)

Rolling Average Table Below we will look at a program in Excel VBA that creates a rolling average table. Place a command button on…

Read article →
8 March 2017 by Atul Vij Excel VBA

Post navigation

← Older posts
Newer posts →
Proudly powered by WordPress | Theme: fiore by Caroline Moore.
© 2026 Atul Vij · AJ’s Techie & Wacky World
AboutProjectsFree ToolsContactPrivacyDisclaimerGitHub
Did you know?

Why? →