Djblois
05-22-2007, 08:48 AM
I am writing an un-install option into my program and I am trying to have it delete the add-in from the users add-ins folder when they run it. This is the code I tried and it says subscript out of range:
Workbooks("C:\Documents and Settings\" & Environ("username") _
& "\Application Data\Microsoft\Addins\Business Reporting Today.xla").Delete
Is this possible?
Workbooks("C:\Documents and Settings\" & Environ("username") _
& "\Application Data\Microsoft\Addins\Business Reporting Today.xla").Delete
Is this possible?