

In order to follow along with this tutorial, I expect you to have a basic understanding of Excel. The template will be automatically created by a macro we build together based on the cities and date that we use as parameters.įinally, we will also learn how to import the data from another file in our template. In this tutorial we will be writing a macro that prepares a template to note the temperatures in several European cities – Amsterdam, Barcelona, Berlin, Brussels, London, and Rome. The language is object oriented, it's written in C++, and it includes all the features you would expect in a coding language these days. Intro to VBA and Overview of the ProjectĪlthough VBA was declared legacy in 2008, this implementation of Visual Basic can help you automate the repetitive tasks in your daily life. So I will take you through the basics of VBA, such as how to use variables, loops, if-else statements, arrays, and dictionaries. This saves me quite a lot of time in my day-to-day life.īased on the fact that you're reading this tutorial, I assume that you would like to be able to do the same. I will appreciate any help, thankyou.I use VBA, or Visual Basic for Applications, to automate my repetitive tasks. I know how to design the buttons (a menu) and submenu through visual basic, but I don t know how to open and design these excel reports using the sql language.

I will like to do a menu in visual basic with buttons for all the reports then bring a submenu within visual (the program) wich asks for the date ranges and then using the sql language and the date range bring the report in excel. What I will like to know if there is a way of getting this through Visual basi.

I now I can get the SQL language from the edit query option.

I have a few reports already design on excel, I go to edit query and just change the range of dates then just refresh the data. Posted: Visual Basic Language, Need help on Visual Basic and Excel Index ‹ Visual Basic ‹ Visual Basic Language
