↓ Skip to Main Content
Useful code Programming with VBA, C# and Python

Main Navigation

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About
Useful code Programming with VBA, C# and Python

Off Canvas Menu

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About

Category: VBA \ Excel

VBA is not a scripting language… Not at all!

Home › Archive for VBA \ Excel › Page 9
VBA – Excel Loan Payment Calculator
Else - Just Tricks, VBA \ Excel

VBA – Excel Loan Payment Calculator

Vitosh Jan 19, 2014 Tagged with VBA, VBA Excel Loan Payment Calculator

You know, a lot of people nowadays should simply take loans. There are plenty of load calculators available online, but it is always better whey one can calculate this thing by himself. Or with Excel, which is pretty much the …

VBA – Excel Loan Payment Calculator Read more →

VBA – Customize Active Window in Excel
VBA \ Excel

VBA – Customize Active Window in Excel

Vitosh Jan 17, 2014 Tagged with ActiveWindow., Excel, VBA

In this article I present a good possibility to customize your Active Window from Excel itself and not from the ribbon. By inserting some form controls, we receive a decent-looking customization dashboard like the one below: The idea of the …

VBA – Customize Active Window in Excel Read more →

VBA – Quick & Impressive Recalculation of Total Sum – Video
VBA \ Excel

VBA – Quick & Impressive Recalculation of Total Sum – Video

Vitosh Jan 15, 2014

Let’s imagine you are a supply chain manager of a company. You use 10 warehouses. Each warehouse has a number of pallets, it can accommodate. One day you decide to check what will happen if you simply reduce the numbers …

VBA – Quick & Impressive Recalculation of Total Sum – Video Read more →

VBA – Dirty Little Helper – MZ Tools
VBA \ Excel

VBA – Dirty Little Helper – MZ Tools

Vitosh Jan 13, 2014

VBA is not a perfect language – actually it is not exactly a language, but if you have worked 4+ years in Excel and then you have discovered it, it is probably like miracle for you! (especially if you have …

VBA – Dirty Little Helper – MZ Tools Read more →

VBA – Excel – Remove Print View Lines
VBA \ Excel

VBA – Excel – Remove Print View Lines

Vitosh Dec 28, 2013

If you need to remove the print view lines, the easiest was is to do it with a macro 🙂 Actually, there should be other ways to do it and there are other ways definitely, but the workaround them (reading …

VBA – Excel – Remove Print View Lines Read more →

VBA – Excel – Activate Sheet Based on Value on Another Sheet
VBA \ Excel

VBA – Excel – Activate Sheet Based on Value on Another Sheet

Vitosh Dec 28, 2013 Tagged with active sheet value, VBA

With this macro we do not actually add something new – it simply does something, which is quite useful if you are working with big documents where you should select the data, based on different values. In the current example, …

VBA – Excel – Activate Sheet Based on Value on Another Sheet Read more →

VBA – Excel Change Formulas to Values
VBA \ Excel

VBA – Excel Change Formulas to Values

Vitosh Dec 26, 2013 Tagged with Excel, excel formulas to values, VBA

Changing formulas to values is something really easy in MS Excel – what the majority of people (including me) would do the following – simply record a macro, where you select all cells and paste them as values. The result …

VBA – Excel Change Formulas to Values Read more →

VBA – Start and end of a macro – optimization
VBA \ Excel

VBA – Start and end of a macro – optimization

Vitosh Dec 21, 2013

If you work with VBA macros, you probably have a few lines of code, which you write before you start the actual coding. In this area we include turning off calculations, displaying alerts and screen updating. With other words, this …

VBA – Start and end of a macro – optimization Read more →

VBA – Group sheets based on their names
VBA \ Excel

VBA – Group sheets based on their names

Vitosh Dec 21, 2013

Sometimes you simply want to do an action in a file to all sheets, but not to the two important ones, named “Important1” and “Important2”. In this case, you may use a simple for/each loop with a select case option. …

VBA – Group sheets based on their names Read more →

VBA – Hide specific range per each sheet + formula for tab
VBA \ Excel

VBA – Hide specific range per each sheet + formula for tab

Vitosh Dec 20, 2013

In this article I will simply combine two different subjects – creation of formula, displaying the name of the tab and hiding a specific range per each Excel sheet. Concerning the formula, here it is: =REPLACE(CELL(“filename”,A1),1,FIND(“]”,CELL(“filename”,A1)),””) Concerning the VBA code: …

VBA – Hide specific range per each sheet + formula for tab Read more →

VBA – How to delete quickly all pictures from Excel?
VBA \ Excel

VBA – How to delete quickly all pictures from Excel?

Vitosh Dec 20, 2013 Tagged with delete pictures, delete shapes, Excel, VBA

Probably, if you are programming with Excel as much as me, one day you have the following question – all the pictures in Excel are generated by my code and I really do not care to give them names. I …

VBA – How to delete quickly all pictures from Excel? Read more →

VBA – send an e-mail from Excel, using MS Outlook and HTML
VBA \ Excel

VBA – send an e-mail from Excel, using MS Outlook and HTML

Vitosh Dec 18, 2013 Tagged with VBA e-mail from Excel

With this article I will simply present you with a solution, combining HTML and VBA, exporting a graph from excel to MS Outlook e-mail. The HTML part is a little complicated and not very flexible, but anyhow – it is …

VBA – send an e-mail from Excel, using MS Outlook and HTML Read more →

VBA – Excel – Lock macros from viewing
VBA \ Excel

VBA – Excel – Lock macros from viewing

Vitosh Dec 18, 2013

With this short article I will briefly explain how to protect your VBA code from viewing from 3rd parties. It is as simple as that: 1. Open the Visual Basic Editor. 2. On Tools select “VBA Project Properties.   3. …

VBA – Excel – Lock macros from viewing Read more →

VBA – Excel – Adding “iferror” to many cells with one macro
VBA \ Excel

VBA – Excel – Adding “iferror” to many cells with one macro

Vitosh Dec 18, 2013

Have you ever had the case to develop a whole solution and at the end someone to tell you the following: “You know, it works well, just insert IFERROR and it is ready to be submitted.” Then you start rebuilding …

VBA – Excel – Adding “iferror” to many cells with one macro Read more →

VBA – Reading information from a closed MS Access file
VBA \ Excel

VBA – Reading information from a closed MS Access file

Vitosh Sep 8, 2013

In this article I will show how to check data through a VBA code in Excel, which is available in a closed MS Access file. Let’s imagine the following: 1. You have an MS Access database file with some random …

VBA – Reading information from a closed MS Access file Read more →

VBA – Open a Table at MS Access
VBA \ Excel

VBA – Open a Table at MS Access

Vitosh Aug 20, 2013

In this article I will continue the subject concerning VBA and MS Access. I have thought of a rule of a thumb, presenting only 3 macros per article, thus being sure that the reader does not get bored. Here I …

VBA – Open a Table at MS Access Read more →

VBA – Three easy Excel Macros which will make your life easier
VBA \ Excel

VBA – Three easy Excel Macros which will make your life easier

Vitosh Aug 17, 2013

With this article I am going to present just a few easy Excel Macros, which I have found useful once. The first one is a typical example of loops in VBA and it creates an excel spreadsheet with tabs for …

VBA – Three easy Excel Macros which will make your life easier Read more →

VBA – Export of selected cells to HTML
VBA \ Excel

VBA – Export of selected cells to HTML

Vitosh Aug 13, 2013

Hello! In this article I will present a code for the easy export of selected cells into a HTML file. In general, the code functions in the following way: 1. Takes a look at the selected range and performs a …

VBA – Export of selected cells to HTML Read more →

VBA – Opening and closing Word from Excel
VBA \ Excel

VBA – Opening and closing Word from Excel

Vitosh Aug 6, 2013

Do you know that VBA can take over all the control over different MS Office applications? This is a simple example how you can open and close a Word application from Excel. In order to do this, you may use …

VBA – Opening and closing Word from Excel Read more →

VBA – Custom Excel Formulas
VBA \ Excel

VBA – Custom Excel Formulas

Vitosh Aug 4, 2013

In this article I will show how to make custom MS Formulas. This is quite useful, if you want to use a formula, which is not available in the predefined Excel formulas. The inspiration for this article came, after I …

VBA – Custom Excel Formulas Read more →

VBA – Puzzle Game in Excel
VBA \ Excel

VBA – Puzzle Game in Excel

Vitosh Aug 2, 2013

So, in this post I will show you a puzzle game in MS Excel – it is like the old one, the kids from the ’90s used to have, before we had PCs. So, the excel file is here, just …

VBA – Puzzle Game in Excel Read more →

VBA – How to start?
VBA \ Excel

VBA – How to start?

Vitosh Jul 22, 2013 Tagged with Excel, how to start, VBA

Lesson 1 – VBA and Excel What is VBA? – VBA is something great, if you are working more than 1 hour with MS Excel and MS Access. It is simply said a must for everyone, who earns his money …

VBA – How to start? Read more →

Posts pagination

Previous 1 … 7 8 9

Copyright © 2026 VitoshAcademy