How to get the Temp folder in VBA

to get the temp folder in VBA you can use the following snippet.

Sample VBA

Public Function GetTempFolder() As String
    GetTempFolder = Environ("Temp")
End Function

Please Share us:
Please rate this snippet

One thought on “How to get the Temp folder in VBA

Leave a Reply