Need help with my macro save

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I use the macro i Inventor to delete all files in a folder:
Sub PDF()
'You can use this to delete all the files in the folder Test
On Error Resume Next
Kill "C:\Users\Aleksandar.Jovicic\Desktop\FGL\Fertigung\Glas\*.*"
On Error GoTo 0
End Sub
Sub PDF1()
'You can use this to delete all the files in the folder Test
On Error Resume Next
Kill "C:\Users\Aleksandar.Jovicic\Desktop\FGL\Fertigung\Glas Mittelfosten\*.*"
On Error GoTo 0
End Sub
Sub STP1()
'You can use this to delete all the files in the folder Test
On Error Resume Next
Kill "C:\Users\Aleksandar.Jovicic\Desktop\FGL\Fertigung\Glashalter\*.*"
On Error GoTo 0
End Sub
and it works, but the makro doesen save when i save the inventor file.
and i bekome this:
Many projects. is there a way to delete the projets, i need just one, just one modul woth that VBA code, and i need to keep it
Than you
Alex