r/visualbasic • u/pepper_clip • Aug 03 '18
Help: Learning Visual Basic in Excel
Good day, anyone of you here have any recommended books or videos that helps me in learning visual basic in excel.
Purpose of wanting to learn: I need it in my work ( I mostly work with excel), and I want to learn more. There are things i want to do in excel that is not possible with common/basic excel functions (can only be done with visual basic) and i want to create my own programs in excel that will help me improve my work (and possibly be promoted, yey)
Level of VB understanding: 5/10, we had VB in highschool but i forgot most of the ideas, but I can remember them (needs refresher)
I highly appreciate your responses and I thank you in advance.
If you have any recommendations not related to VB but can help me in my work, that is highly appreciated as well.
2
u/raunchyfartbomb Aug 03 '18
is there anything specific you are looking to do to help us steer this advice? importing / exporting / saving and attaching to an email / or just cell manipulation?
Personally, I taught myself excel vba by looking at existing code and adapting it to my needs mostly. (I did have a logic/programming course that covered general topics in programming, but that was with C#).
One of my first projects that really got me into vba was MyLongWar, a spreadsheet meant to help people more easily customize the mods in the Xcom War Within (Long War Mod). the VB code is accessible if you were to download and attempt to view it.
that spreadsheet imports various tab-delimited text files, fills up the spreadsheet, and has a ton of functionality for modifying the config files of that game (which are just tab delimited text files). It also has userforms, so you can see how we called those up and what we did there to manipulate the spreadsheet.