vba

| |

Automatically Open Excel and Send Report Using Batch and VBA

  We can use Visual Basic codes to automate some reports in Excel. Below are some simple codes to do this. First this is a batch file to open our Excel report called “data report.xlsm”, assuming the report file is in the same folder as the batch file. You can schedule the time this batch file is…

Assigning a Simple Button to a VBA Code – Excel Microsoft Visual Basic
|

Assigning a Simple Button to a VBA Code – Excel Microsoft Visual Basic

This is a simple guide to create and assign a “button” to your simple VBA code. Credit to WiseOwlTutorials. You can check him on Youtube Let’s create a simple VBA code in a module A simple code like this will do for our example Sub NameIsNanaKofi() Worksheets.Add Range(“A1”).Value = “My Name is Nana Kofi”End Sub  …

The Basics – Visual Basics Macro Programming Start Up

The Basics – Visual Basics Macro Programming Start Up

This is a quick and simple VBA code with some comments about the structure and how it the basic syntax works for beginners. Credit to WiseOwlTutorials, you can check him out Youtube. Sub createAndLabelNewSheet() ‘create new worksheet // this is a comment. comment is denoted by an ‘apostrosphe sign ‘Basic VBA sentence structure ‘thing.action ‘always name…