You are on page 1of 1

Private Sub SpinButton1_Change()

Dim MyLocation As String

'AKTIFKAN FUNGSI AUTO CALCULATION UTK SHEET KuEdit


Application.Calculation = xlCalculationAutomatic

LoadFrame (SpinButton1.Value)
On Error Resume Next
'DELETE FILE SAMPAH
MyLocation = ThisWorkbook.Worksheets("Genset D1").Range("MyTemporary")
Shell Environ("Comspec") & " /c del " & MyLocation & "*.tmp"
End Sub

You might also like