Hi,

I've created a dll in c# that I use in Excel by adding a reference to the .tlb file in VBA. Everything works fine the first time, but when I make changes and try to recompile my dll, I get 'the process is used by another application'. Sample code looks like this:

Sub test()
Dim x As ExcelDLL.TestExcelDLL
Set x = New ExcelDLL.TestExcelDLL
Range("b2").Value = x.TestFunction(2)
End Sub

I've tried a number of different ways to killing the process, but I've run out of ideas. Does anyone know what to do? Please, I'm soooo frustrated.