Excel Macro

Recording Macro – Relative References and Absolute Method

Dear Friends, This article is intended for Excel VBA beginners. Here in this article I am going to explain you the use of Use Relative Reference option in Excel VBA while recording your macro. My focus in this article would be in explaining you these two different methods which you can use while recording - 1. Use Relative Reference Method [...]

By |Categories: Excel Macro|Tags: , , , |0 Comments

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. [...]

Hide Group outline symbol in Excel – [Manual Option + VBA]

Dear Friends, In this article, I am going to share a quick tip related to Excel. It was asked by one of my colleague recently. How to show or hide Group Outline Symbol in Excel Workbook when you group any row or column. Here I will show you both the methods - 1. How to hide Group Outline - Using [...]

VBA to Open or Create a Password Protected Workbook

Dear Friends, Previously I have written about how to protect and un-protect a Sheet in a Workbook. In this article, I am going to cover all about protecting and unprotecting a workbook. This is going to be a short and simple article, yet informative and useful for your day to day VBA programming. In this article, I am going to [...]

VBA to Convert Contact Data in Excel to VCF format

Dear Friends, As you have learnt about interacting with Text files through Excel VBA, it is time to see the usage of those methods you learnt. One usage, you have already seen here, in how to export excel data in CSV format. In this article, I am going to teach you how to Export contacts stored in Excel table as [...]

Top 4 VBA Methods to Export Excel data as CSV File

In this article, I am going to teach you 4 VBA Methods of - how to export data from Excel Range to a CSV file format using Excel VBA.

VBA Guide to Interact with Text Files – Part – 2 of 2

Dear Friends, I am back with the second part of the tutorial- VBA Guide to Interact with Text Files – Part – 1 of 2. This is the final part of this tutorial. In previous article, mainly we learn about How to Open a Text File and How to write to Text File using VBA code. There were some [...]

VBA Guide to Interact with Text Files – Part – 1 of 2

Text files are one of the simplest, lightest file types. This is the reason it is highly used in programming to store lot of configuration related data, logs and so many other necessary data which is used by programs more frequently. If you browse your Program files folder in windows almost every program will have some text files for storing [...]

Page 1 of 1312345...10...Last »