Hi everyone
How to get the temporary directory of the system, in my VBA program?
I want to create some temporary files for my operations.
Thank you!
Word Heretic - 05 Jan 2005 09:28 GMT
G'day "animator" <lidelu@sina.com>,
%temp% in a shell
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
animator reckoned:
>Hi everyone
> How to get the temporary directory of the system, in my VBA program?
> I want to create some temporary files for my operations.
>Thank you!
Andi Mayer - 05 Jan 2005 10:31 GMT
>Hi everyone
> How to get the temporary directory of the system, in my VBA program?
> I want to create some temporary files for my operations.
>Thank you!
Environ("tmp")
---
If you expect an answer to a personal mail, add the word "manfred" to the first 10 lines in the message
MW
Peter - 05 Jan 2005 18:10 GMT
> Hi everyone
> How to get the temporary directory of the system, in my VBA program?
> I want to create some temporary files for my operations.
> Thank you!
Just to give you another option:
Dim sTmp as String
sTmp = Application.Options.DefaultFilePath(wdTempFilePath)
MsgBox "The temporary folder is " & sTmp