Using Visual Studio for VBA - vba

I am looking for an opportunity to use Visual Studio for VBA. Specially for Excel Makros. Reason is, to use all the supporting Features of Visual Studio e.g. TFS Connection. Is that possible?

No, but you can create VSTO projects in Visual Studio instead

Related

How to take code snapshot in Visual Studio?

In Visual Studio Code there is an extension called "Codesnap",
I want to know if there is something similar in Visual Studio as well?

Modifying and running VB.net project in Visual Studio Code?

Is it possible to modify and run existing VB Visual Studio 2010 projects in Visual Studio Code? I have some VB.NET projects that I would like to open in visual studio code and I haven't found anything online that says whether or not this is possible. Drag and drop functionality isn't necessary for me, I only care about being able to run the source code.
I'm running Ubuntu 14.04 if that makes any difference.
Thanks in advance!
You can use Visual Studio Code to edit any text file you want.

How do I use Visual Studio to edit my Microsoft Office scripts?

I'm a frequent Visual C++ user working on some VBA scripts in MS Office 2010 and I would really like to be able to use Visual Studio 2013 (Professional) to edit them - is this possible? When I try to open my Access Database file from Visual Studio it just loads up in Microsoft Visual Basic for Applications 7.0 (ie. that horrible default IDE)...
What I'd really like is for it to open the module in VS when I click on the module in access. Can this be done?

How to open visual basic 6 program with visual studio.net

I want to open a program (written in Visual basic 6) to be open in Visual Studio.net. Please guide, how could I do that?
While trying to open VB6 (.vbp file) program directly from the OPEN project option in visual studion.net, I was getting this error,
"Visual Basic 6 (.vbp) files cannot be opened in Visual Studio"
I am trying to open in VS 2010.
Visual Studio 2010 does not support VB6 projects. See the link here
From the msdn documentation:
Visual Studio 2010 does not provide tools for upgrading applications and projects from Visual Basic 6.0. If you want to upgrade your project from Visual Basic 6.0 to Visual Basic 2010, you can use the upgrade tools provided with earlier versions of Visual Studio and then upgrade the project again in Visual Studio 2010.
Visual Basic Tools for Visual Studio
There's a plugin called Visual Basic Tools for Visual Studio that provides the following features:
load classic VB workspace- and project-files and offers quick access to the extension´s options
integrates with the solution explorer and the code editor having support for syntax highlighting, basic outlining (allows to expand/collapse methods, properties and types) as well as navigation bar support.
Classes, Types, Modules, Forms and Controls can be inspected using the Object Browser and Class View.
From the reading, it's unclear if you can actually build the project, though it does say:
The import tool creates a new solution and MSBuild compatible projects.
Links to the plugin by VS Version
2012-2013
2015
2017
RAD Basic
There is also an independent IDE called RAD Basic that claims the following features:
New and modern IDE (Integrated Development Environment) with form designer supporting drag and drop, code completion, refactoring tools, etc.
RAD Basic Compiler: Compiler 100% compatible with your VB6 project (vbp, frm, bas and cls files). Generate native executables (exe and ocx) in both 32-bit and 64-bit.
RAD Basic Forms: Reimplementation of common VB6 controls and components supporting 32-bit and 64-bit.
etc.
Speaking from my experience, it's not easy to open a Visual Basic 6.0 project in any versions of Visual Studio above 2008.
Although 2008 and below versions do provide an automatic function to convert Vb6 code to the VB.net framework. But, the problem starts after the conversion - it can skip some code, add functions/variables on its own, or modify the functional behavior on its own, and with that the VB.proj will be created with errors and you will not be able to open it anywhere as a solution file. The same with any 3rd party tools.
If you want to open the VB6 code try Visual Basic 6.0 Portable edition.
But headache will still follow you there, please refer this link
Installation of VB6 on Windows 7 / 8 / 10
Make sure you are clicking on the project file itself... Right click on the file and select "Open With" and select your visual studio program. It may need to be converted and if so, it will prompt you to convert the project.
Thanks!
Download Visual Basic Tools for Visual Studio,allows to work with classic VB workspaces and projects

Add-In for Team Foundation Server

Is there any add - in for VBA in TFS for performing source control activities like Check in, Check out ?
Basically, I am developing an application in VBA and I am using VSTS as my version control tool. I am not aware as to how can I integrate VBA with Visual Studio team system to directly check in or check out my code.
Not sure, is this VBA in office? If the application can use Visual Source Safe then you might be able to use the MSSCCIProvider. If not then the windows shell extensions (explorer integration) in the TFS 2010 Power tools might be useful, at least you won't need to have Visual Studio open.