Microsoft Visual Studio Tools for Office. Is it worth using?
Asked Answered
A

3

6

It seems like deployment of VSTO code is very cumbersome.

My use case is I need to enforce a certain content structure in word. Am I better of doing it all in VBA?

Amphimacer answered 10/11, 2008 at 20:44 Comment(0)
I
4

It really depends on what makes most sense for your project. If it's only going to be for certain files and a couple users, I would recommend VBA.

If it's more complex and needs to work on all files for all users, I think a VSTO plugin would be the way to go. It really depends on your situation and complexity you're trying to enforce.

Iene answered 10/11, 2008 at 20:57 Comment(1)
caveat about complexity - you can have a large, long running complex app consisting of only a few files and a couple of users that it still requires VSTO over VBA for reasons such as performance.Dessiedessma
M
2

Before VSTO 3.0 I would agree with Ryan Lanciaux but not anymore. These days I have become so productive in VSTO that I do even small one off jobs in VSTO. That have saved my butt in a few cases as the add-in became very popular within the firm, and all I had to do was to add the path to the Click-once package :-)

Monti answered 4/12, 2008 at 20:6 Comment(0)
F
0

Keep in mind that it is not only the limitations of VBA as a language, but also the lack of industrial strength tools like unit test frameworks and source control that can be frustrating. You may trade off speed of development with long term frustration because of this if you stick to VBA.

You could do both, writing VBA code to directly support your UI and the rest in .NET.

Fabrizio answered 10/11, 2008 at 21:5 Comment(1)
Writing solutions that use both is a bad idea. you end up with an overly complex deployment scenario, and the ability for users to break your solution. stick with vsto or vba. mixing is a bad idea.Dessiedessma

© 2022 - 2024 — McMap. All rights reserved.