r/visualbasic • u/juicyduckfarts • Feb 16 '16
[VBA] I need some suggestions on what visual studio has to offer.
I have a computer science background, and I've already picked up on the VBA language. My future employer wants me to come up with a training plan so they know I understand everything completely in Visual Studio and VBA before I actually start on the main project. Any suggestions on what I could do? Is there some type of "hierarchy" of VBA tools in Visual Studio?
3
u/hdsrob Feb 16 '16
I'm not sure of any VBA tools that exist in Visual Studio. All of the VBA tools that I'm aware of exist strictly in MS Office.
Since VBA is a subset of VB6, and doesn't have much to do with modern VB / .NET, you might get some better answers over at: https://www.reddit.com/r/vba
3
u/CharlieMay VB.Net Intermediate Feb 16 '16
If indeed you are working with Visual Basic.Net in Visual Studio but will be manipulating MSOffice Documents/Spreadsheets etc... from VB.Net code, you may want to look into the Automation features that VB.Net has to offer. Here's a quick little tutorial to show how to connect to office applications and manipulate them.
If however you just need to be learning VB.Net then I suggest this to get you the basics.
Don't go into that second link thinking you don't want to work in the console, the video series is made to show you the fundamentals of vb.net programming. All of these techniques are fundamental to VB.Net whether you're using the Console, Windows Forms or even WPF as your interface. Once you understand this, it's just a small learning curve to applying this to a WinForms application.
2
u/hdsrob Feb 16 '16
Agree with that tutorial set, just be sure to use the newer version, as that one is outdated:
https://channel9.msdn.com/Series/Visual-Basic-Fundamentals-for-Absolute-Beginners
3
u/TheFotty Feb 16 '16
VBA and Visual Studio don't really go together. VBA is Visual Basic for Applications, and it was a subset of VB specifically written to extend and automate functionality of Microsoft Office applications. VBA is programmed directly from the Office applications using their built in VBA code editors. Visual Studio on the other hand is the IDE for programming languages like VB.NET, C#, C++, etc..
Visual Studio has templates for Office plugins, but these are still very different from VBA. So you need to clarify what it is you are actually looking to do.