Is VBA a hard language?

Is VBA easy to learn?

Yes, it is!

But you have to know some basics of VBLike variables, arrays and basic logic in VBThen you can learn most things on your own. Of course, there are books like "Programming Microsoft Excel" by Brian Rasmussen and John Walkenbach that will teach you all about the basics of VBHow does it work? VBA is a macro language that works with Excel or Word. That's all. You can start a macro from VBA and click a button to activate the macro. Once you've done that, you can run the macro.

What do you need to start programming? You can start with a very basic Excel project and go from there. Is it easy to learn?

Is VBA a hard language?

It's pretty well structured in terms of the coding methodology they're using, there are two files for every operation they wish to automate, an executable and a test file to test against.


They write unit tests when the code is written that check in and out all variables etc. But when they go live the test file goes away.

So for the VBA guys on the team they're having to learn how to do some things, such as reading in a text file, converting it to a spreadsheet, doing some calculations, generating some results and finally exporting it to the CSV or Excel file, that they can feed off into their test file for validation. That would mean getting them comfortable with the scripting language and also doing things such as reading in files, calculating results, exporting to an appropriate output file and then having their test file check it all in.

What should the team do to make the best use of their time? My guess is that those guys have some very specific business rules that they need to fulfil that requires some kind of programming -- I suspect your question about whether or not VBA is a hard language is actually about whether or not the application is so complex that it calls for writing tests alongside your implementation. It seems like you are looking at this in terms of "hard" languages -- and that's something that often leads people astray. If the code that you write performs very specific business processes and there's very little overlap between the process itself and its code, it's reasonable that it should be possible to implement it entirely in one language. That doesn't preclude the other languages from being easier or harder -- it depends upon what the code needs to do.

I would say to those guys that if their business requirements are really narrow and straightforward (and I'll assume they are, based on the question that you linked), then VBA isn't hard.

Can I learn VBA in 2 days?

I'm a newbie at this and was wondering if anyone could offer any advice on how to learn VBA in 2 days.

I don't have much experience in programming so I don't know if I should start with basics or jump right into the intermediate stuff. I need to learn it for a course and would like to do it in the next 2 days, it's just that i've never really been taught anything before. I don't know if I should start from the basics or just jump into it?

Start with the basics. In my opinion, it is not good to learn something without having some experience. If you start with the intermediate stuff, you will be lost. And if you start with the advanced stuff, you will be stuck for a long time.

If you want to start learning VBA in 2 days, you can do this. You will only need to know VBA syntax, some basic functions, loops, and if statements. There is no need to know advanced programming concepts like variables, objects, classes, events, etc.

Here is a list of things you can do in 2 days: Create a new workbook. Insert a worksheet. Fill the sheet with some data. Format the sheet to your liking. Add a new sheet. Copy the content from the old sheet to the new one. Save the file. Print the file. Close the file. Now you can start writing code. However, when you are finished, you will have done less than 2 days of work.

Is VBA easier than Python?

Absolutely, it's way more intuitive.

It's much more similar to how an average person works in Excel. However, Python is very fast and the language itself is extremely powerful and features-rich for creating and building complex network of programs to solve problems.

When you're comparing languages, there are other factors that you have to consider - like the amount of development time you're willing to spend to build it, how much you'd pay for the development and how many applications you would like to build with said language. For instance, I'll be completely biased and mention that both languages are perfect at one thing - data management. Data is the backbone of the majority of big companies' success or failures. Python is a good entry-level language and Excel will save your ass in case you're going to find yourself with no other way. However, VBA is just much more intuitive to use.

The major differences between these 2 languages is: 1) Python: When it comes to programming, I like Python since it's clean, powerful, fast and easy to pick up. 2) VBEasy as it is when you first open up Visual Basic, but then getting comfortable with it can take a fair amount of time. 3) Interopability: VBA has more power than Python in this area, but you don't need to learn every single one of Python's core modules like you have to get a handle on C. It doesn't matter how small or simple the project might be - for some reason, I prefer it when things are simple and well-organized. When using VBA, it requires minimal setup and code maintenance. This is definitely very attractive for me, but if you're looking for a language that might work for the enterprise level. Python might seem like a lot of effort in the beginning, but once you master it, you'll fall in love. If you're looking for an efficient code developer, VBA is more suitable for you, especially if you want to know how it feels like to develop programs that work flawlessly on any Windows operating system.

# 1. Using the "Tools" menu. There is a submenu there called "References". In it, you'll see VBE Tools. Go ahead and select everything out of it.

Related Answers

What language do Excel macros use?

It really depends on what you're doing. If you're writi...

Can you automate with VBA?

Sure. VBA is the most powerful scripting language available for Windows. A VBA e...

Does Excel 2016 have Macros?

After I used the Microsoft Office Assistant tool to clean up my Excel spreads...