Is there a method for getting the Excel VBA IDE working with TFS 2010?

calendar_today Asked Aug 31, 2011
thumb_up 4 upvotes
history Updated April 14, 2026

Direct Answer

There is a Visual SorceSafe provider for VBE that comes with Office XP Developer. I used it for many years and still have it installed. It does what you want, but using VSS and…. This is an advisory response with reference links, ranked #41st of 95 by community upvote score, from 2011.


The Problem (Q-score 14, ranked #41st of 95 in the VBA Core archive)

The scenario as originally posted in 2011

I have team members that need to be able to checkin VBA modules/classes created in Excel 2007/2010.
I want to be able to use some TFS functionality, ideally from within the VBA IDE.

I don’t want to checkin Excel files as artefacts. Ive seen the MSSCCI provider download from MS.

I don’t think in this case the Windows shell extensions from the Power Toys helps because I don’t want to have to create an additional process for developers to export and/or import class & module files from their work in VBA project maintenance.

Question: Can someone provide a way to use the MSSCCI provider with Excel 2007 (or even Excel 2010 only)? Do you think this would only be possible with custom VBA addin?

Update:

I’ve thought about using an approach such as making a custom VBA addin and adding some commands that make basic calls to the TFS client object model.

Just found this post from Codeproject from another question this time looking for the same thing but for SVN rather than TFS.

Why community consensus is tight on this one

Across 95 VBA Core entries in the archive, the accepted answer here holds niche answer (below median) status — meaning voters are unusually aligned on the right fix.


The Verified Solution — niche answer (below median) (+4)

Advisory answer — community consensus with reference links

Note: the verified answer below is a reference / advisory response rather than a copy-ready snippet.

There is a Visual SorceSafe provider for VBE that comes with Office XP Developer. I used it for many years and still have it installed. It does what you want, but using VSS and not TFS.

Note that the product is not supported, but VBA/VBE has not changed since Office 2000. I used the provider for two years for Excel 2003 development with no problems.

I seem to remember recently an article describing how you can use VBA/VSS with the extra benefit of having the code also “posted” to TFS. Since I no longer professionally code in VBA/VSS, I didn’t have a need for the article, but did find the topic interesting.


Office XP Developer has a few other tools that make it worth the time to install.


Access Source Code Control and Team Foundation Server

Today’s guest writer is Mike Sullivan – a tester on the Access team

With the release of Visual Studio Team System 2008, we’ve recently received questions from several customers regarding whether or not Team Foundation Server (TFS) can act as a source code control provider for the Access source code control (SCC) component. The answer is yes!

Although many folks refer to Access’ source code control component as “SourceSafe integration,” that only tells part of the story. SCC integration within Access is fully compatible with any provider that implements the Microsoft Source Code Control Interface (MSSCCI). Although Visual SourceSafe is one of the more widely used MSSCCI providers, there are several other products that implement this interface, including Team Foundation Server 2005 & 2008 as well as IBM ClearCase.

However, MSSCCI support in Team Foundation Server is not native and requires an additional add-in available for download:

Of course, to enable SCC functionality from within Access, you’ll also need the Source Code Control add-in. This shipped as a free download as a part of the Access Developer Extensions for Access 2007 and as a separate free add-in for Access 2003:

If you’re interested in taking this configuration for a whirl, you might want to download the Team Foundation Server Virtual PC image that has been made available by the Visual Studio team. Included on this virtual PC are copies of Visual Studio Team System 2008 and Office 2007 Enterprise SP1 (though Access is not installed by default on this image – you’ll need to go to Add/Remove programs within Control panel and launch setup to install Access). This trial image is good through December 31, 2008.

To get the Virtual PC image working, you’ll also need to install the Access Developer Extensions (the MSSCCI add-in is preinstalled). Since VSS is the default MSSCCI provider on the machine, you’ll need to tweak a registry key to get Access to use Team Foundation instead:

Path: HKEY_LOCAL_MACHINESOFTWARESOURCECODECONTROLPROVIDER
Key: ProviderRegKey
Value: SOFTWAREMicrosoftTeam Foundation Server MSSCCI Provider

Hopefully those of you curious about support for TFS have had your questions answered!


When to Use It — vintage (14+ years old, pre-2013)

Ranked #41st in its category — specialized fit

This pattern sits in the 97% tail relative to the top answer. Reach for it when your scenario closely matches the question title; otherwise browse the VBA Core archive for a higher-consensus alternative.

What changed between 2011 and 2026

The answer is 15 years old. The VBA Core object model has been stable across Office 2013, 2016, 2019, 2021, 365, and 2024/2026 LTSC, so the pattern still compiles. Changes that might affect you: 64-bit API declarations (use PtrSafe), blocked macros in downloaded files (Mark-of-the-Web), and the shift toward Office Scripts for web-first workflows.

help
Frequently Asked Questions

This is a below-median answer — when does it still fit?
expand_more

Answer score +4 vs the VBA Core archive median ~4; this entry is niche. The score plus 14 supporting upvotes on the question itself (+14) means the asker and 3 subsequent voters all validated the approach.

This answer links out — what are the reference links worth following?
expand_more

Read the first external link for the canonical reference, then search this archive for a top-10 entry in the same category — advisory answers are best paired with a ranked code snippet to close the loop.

This answer is 15 years old. Is it still relevant in 2026?
expand_more

Published 2011, which is 15 year(s) before today’s Office 2026 build. The VBA Core object model has had no breaking changes in that window. Three things to re-test: (1) blocked macros on downloaded files (Mark-of-the-Web), (2) 64-bit API declarations (PtrSafe, LongPtr), (3) any shift toward Office Scripts for web scenarios.

Which VBA Core pattern ranks just above this one at #40?
expand_more

The pattern one rank above is “Test if range exists in VBA”. If your use case overlaps, compare both before committing.

Data source: Community-verified Q&A snapshot. Q-score 14, Answer-score 4, original post 2011, ranked #41st of 95 in the VBA Core archive. Last regenerated April 14, 2026.

vba