I think the answer depends on what your goal and passion are. VBA allows you to embed macros in Excel, giving you the ability to greatly extend the capabilities of what is probably the most widely used engineering calculation tool out there. Even learning just the basics can help you do some powerful things, and there's a wealth of powerful as you delve deeper. VB is also used as the scripting language in several other tools. On the down side, it is a relatively old language that's controlled by one company (Microsoft) and they talk about making it obsolete every one in a while.
Python, on the other hand, is a powerful, easy to learn, freeware tool that lots of folks out there have developed modules for. It's has very powerful programming, graphing and data analysis capabilities, and it seems like it is gaining a lot of popularity as a general programming language. It's a very flexible language, but has the potential drawback that you need to develop the user interface yourself (unlike Excel/VBA).
With that said, learning the basics of programming is going to be helpful regardless of your current needs. Once you have a deep understanding of one language, it's relatively easy to understand and modify other tools (so VB can help you understand Fortran, C, Java, Perl, ...).
Best of luck!
Charles
------------------------------
Charles Sanderson Wayne PA
------------------------------
Original Message:
Sent: 02-18-2020 17:56
From: Amanda Chun
Subject: Programming Language
Hello AIChE!
I'm a recent Chemical Engineering graduate looking to expand my skills set through programming. Our engineering course only taught Matlab and basic Excel skills. I'm mainly looking at learning VBA or Python, is there one you would recommend more and why?
------------------------------
Amanda Chun
Student Researcher
George Washington University
San Ramon CA
------------------------------