F
Frank Ashley
I'm trying to remove a project from the project explorer programmatically so
I assumed this would work.
I have 3 projects loaded and the active one is the third one.
Dim oApp As Application
Set oApp = Application
Dim oProj As Object
Set oProj = oApp.VBE.VBProjects.Item(1)
oApp.VBE.VBProjects.Remove (oProj)
but I get the error below
438
Object doesn't support this property or method
Any ideas?
Frank
I assumed this would work.
I have 3 projects loaded and the active one is the third one.
Dim oApp As Application
Set oApp = Application
Dim oProj As Object
Set oProj = oApp.VBE.VBProjects.Item(1)
oApp.VBE.VBProjects.Remove (oProj)
but I get the error below
438
Object doesn't support this property or method
Any ideas?
Frank