Excel Macro Beginner

This category holds articles which are for the beginner to Excel Macro. If you are new to Excel Macro then this is the right place for you.

Early Binding v/s Late Binding in Excel VBA Programming

Early and Late Binding is a common phenomena across computer programming languages. In simple terms, Binding means - how and when methods or properties of an Object are compiled and checked. In case of Excel VBA [COM - Component Object Model] - this occurs when you are trying to automate something which is not part of default object library of [...]

Methods to save a Macro FREE copy of a workbook [FREE DOWNLOAD]

Dear Friends, This is a very simple yet powerful Excel VBA tip for you. Many a times before sending your workbook with Excel VBA Macro code in it, you want to save your workbook without any VBA code in it. Therefore here in this article, I will show you - how to save your Excel Workbook without excel macro in [...]

40 Useful Excel Macro [VBA] examples – Part 2 of 2 [ FREE DOWNLOAD ]

Dear friends, As you see this is the second and last part of the tutorial 40 Useful Excel Macro [VBA] examples. In previous article i had published the first 20 examples. Download a FREE Excel Workbook with all 40 Examples At the end of this article, you will have a link to download a FREE copy of all 40 useful [...]

40 Useful Excel Macro [VBA] examples – Part 1 of 2

Dear Friends, Here in this article, I have tried to consolidate some most useful and more frequently used excel macro with examples. This is part 1 where I have provided 20 Excel Macros related to workbook and worksheets. Remaining 20 Excel Macro examples will be followed in my next article - 40 Useful Excel Macro examples for Beginners - Part [...]

5 rarely used features in Excel VBA

Dear friends, As promised last week, in this article I am going to talk about 5 rarely used features of Excel VBA. [I am not saying that all of these features are awesome to use... I have provided my personal choices for each of them] 1# Using IIF in Excel vba IIF is a type of IF ELSE END IF. [...]

3 Methods to Comment or Uncomment in Excel VBA

Dear Friends, This is a very simple yet useful article, especially for beginners. Sometimes even intermediate level users also does not know about all these options to comment a line or group of lines in Excel VBA. Like every other programming languages, VBA too has an option to comment a line or group of lines in your code. For those [...]

Schedule to close Workbook using Application.OnTime

Dear Friends, In this article I am going to teach you about Application.OnTime. I will also explain you the usage of this method with two examples: How to schedule a workbook to close at specified time How to Schedule a workbook to close if left idle for specified duration This method is used to execute a procedure in Excel VBA [...]

What is Immediate Window and how to use it in Excel VBA

Dear Friends, Have you heard of Immediate Window in Excel VBA programming? Do you know how to make use of it? If you have not been using this while doing vba programming then trust me you were missing something really cool stuff which excel provided to the programmers. In this article I am going to explain you the following 1. [...]

Windows FileDialog to Select File or Folder Path in VBA

Dear friends, In my many of the Excel Tools, wherever there is a need of file path to be entered from your local PC, I try to put a browse button to locate that file in your Windows PC through windows file explorer window. It is the same window which you might have seen in windows for selecting a file. [...]

How to create folders in windows via Excel VBA

Dear LEM Readers, Till now, I had published many articles on how to list files from a folder / sub folder,

Page 1 of 41234