J
jatman
good afternoon,
back again doing tweaking on macro...
i have a template, with a macro that saves the file in c:/temporary/ as a
docx file (Office 2007)
then it emails out (as a docx attachment)
then it saves a user copy in the proper location c:/human_resources as a pdf
file so that the user cannot make changes to it anymore
closes down
i want to permanently kill/delete the file in c:/temporary/
i tried
Kill "C:\Temporary\" & "*.do*"
but that does not remove the current file that i just worked on, only the
old files are removed. i also tried a separte private sub document_close and
put the kill line there but i got an error message.
how would i remove the currently saved file?
thanx
jat
back again doing tweaking on macro...
i have a template, with a macro that saves the file in c:/temporary/ as a
docx file (Office 2007)
then it emails out (as a docx attachment)
then it saves a user copy in the proper location c:/human_resources as a pdf
file so that the user cannot make changes to it anymore
closes down
i want to permanently kill/delete the file in c:/temporary/
i tried
Kill "C:\Temporary\" & "*.do*"
but that does not remove the current file that i just worked on, only the
old files are removed. i also tried a separte private sub document_close and
put the kill line there but i got an error message.
how would i remove the currently saved file?
thanx
jat