Excel VBA

Home/Excel VBA

Excel VBA is the macro programming language available in the Excel and other MS office tools. It helps to automate the regular tasks, create the dashboards and build the tools to perform certain tasks.

Column Name to Column Number

Column Name to Column Number is nothing but converting Excel alphabetic character column name to column number. Most of the time while automating many tasks it may be required. Please find the following details about conversion of column name to column number. You can also say column string to column number. Or get alphabetic character to column number using Excel VBA.

Remove CheckBox on Worksheet or UserForm in Excel

We can remove or delete checkbox on the worksheet or userform using ‘Go To Special’ or ‘Select Objects’ or by turning on Design Mode in Developer tab. when we don’t want to place checkbox control on the worksheet or userform we removes from there. Please find the more details and screenshots for clear understanding about remove checkbox control in the following chapter.

Add CheckBox on Worksheet or UserForm in Excel

Add CheckBox on Worksheet or UserForm is using checkbox control and is used to specify or indicate binary choice. In this section we will see how to add single checkbox or multiple checkboxes on the worksheet or userform. Please find more details about add checkbox control in the following chapter.

Introduction to Collections in Excel VBA

Collection is an object contains group of objects having similar characteristics (with same properties and methods). For example,if you want to loop through all worksheets in a workbook, you can refer worksheets collection of the workbook and do whatever you want to do with that particular worksheet.

In this topic:
  • Introduction to Collections?
  • Collections in Excel VBA
  • Examples Macro File On Collections

By |August 25th, 2013|Excel VBA|1 Comment

ADO in Excel VBA – Connecting to database using SQL

ADO Stands for ActiveX Data Objects, is Microsoft’s Client-Server technology to access the data between Client and Server. ADO can’t access the data source directly, it will take help of OLE DB Provider to communicate with the data source. Most of the times OLE DB providers are specific to a particular Data Source Type. However, we have an OLE DB provider for ODBC, it is a general purpose provider with help of this ADO can access any Data source which can understand ODBC.

In this topic:
  • What is ADO?
  • What is Database?
  • What is SQL?
  • Practical Learning: Using ADO and SQL with VBA
  • Example File

Events in Excel VBA

Event programming is the most useful tool which helps to monitor specific user actions within Excel. For example, if the user Opening a Workbook, Selects a Worksheet, enters data into a Cell, or saves a Workbook, these actions are all Excel Events.

In this topic:
  • What Are Events?
  • What Are The Different Types of Events?
  • Practical Learning: Workbook_Open Event
  • Example File: Workbook Events, Worksheet Events and Form Events

By |August 11th, 2013|Excel VBA|6 Comments

Related pages


excel template for project tracking3d excel graphlearn vba excelhow to connect excel to sqlmacro to delete duplicate rows in excelexcel stock graphif isna formularemove vbahow to create a tick box in exceltask tracking excel templateexcel adding rowsnested vlookup in excelexcel colour codesdim vba excelvba combobox listexcel hide columnsworkbooks closein excel vlookup formula examplevbscript to delete files in a folderhow to use the pivot table in excel 2007macro password removervba sample programsvba delete sheetsexcel shortcut tipsremove duplicate rows in excelvba select a workbookhow to create a data validation list in excel 2010sumif formula exampleconditional formatting vlookuplook for duplicates in exceluseful vbs scriptsexcel hyperlinkinsert button in excelproject planning freewarebuilding a macro in excelexcel vba programming for beginnerscheck marks in excelvba range variabledownloadable schedule templatevbscript msgbox examplecreate a excel macroexcel vba sub functionexcel mergingcompile data from multiple excel worksheetschart wizard in excel 2007vba buttonsexcel vba table lookupexcel insert row macrovba rows selectdefine vlookup in excelvba excel rangeexcel meeting minutes templatesas macro programming for beginnersexcel project budget templatevlookup excel 2007 examplehow to unprotect excel file without passwordvlookup in microsoft excelexcel vba functions tutorialvba filefilterformula of vlookup in excel with examplevbscript code examplesmicrosoft office invoice templates for excelexcel looking for duplicatesexcel exit macroloop in vbaexcel vba delete named rangerowcount vbavba dim arrayremove duplicate excel 2003countifs functioncreate userformcase vba excelvba goto statementvba named rangesexplain vlookup in excelcheckbox in powerpointunlock excel spreadsheet