Need help with my macro save

Need help with my macro save

Anonymous
Not applicable
262 Views
0 Replies
Message 1 of 1

Need help with my macro save

Anonymous
Not applicable

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:

1.JPG

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

 

 

0 Likes
263 Views
0 Replies
Replies (0)