News

Welcome to the VBA Code Repository! This repository contains a collection of tested examples and reusable VBA (Visual Basic for Applications) code for automating tasks in Microsoft Excel. The scripts ...
The data file is stored as .csv (comma separated values), then manually converted into .xlsm (Excel macro file format) when opened and saved on the local system. Similarly, all of the VBA code is ...
In Excel 2016, Power Query is no longer an Excel add-in but a native feature of Excel, and what’s more, you can now use VBA to create and manage Power Query queries. I’ve found two sources of ...
In this post, we will use some Excel VBA code that will help us work back and forth between this format and the regular, two column format recognized by AdWords Editor. As an example, we can add ...
After creating UserForm1 for one Excel application, you realize that you'll want to use it again -- with a few modifications -- in another application. You do not need to recreate the form; simply ...
You have an Excel 2011 spreadsheet compiling sales data and a sales report that you're writing in Word 2011: How do you get the Excel numbers into your report? Here's a simple Visual Basic macro ...
These step-by-step instructions show you how to add the Developer tab to the Ribbon in Word and Excel 2016 and Office 365, and to use it to launch the Visual Basic Editor and access Visual Basic ...