By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,602 Members | 1,457 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,602 IT Pros & Developers. It's quick & easy.

Folder location for exporting Excel documents from access vba

P: 74
Does anyone know how to refer to a folder that is not "mine" on a remote terminal session.

I know that when i export files to the "My Documents" folder (or delete files) that i use a blank path...such as

Expand|Select|Wrap|Line Numbers
  1. Kill "ProductionReport.XLS"
But how would i delete a file that is public for everyone.... such as one that resides at

C:\PDF_Printer\Files\

Any help is appreciated. btw, i am not needing this code for harm, i am actually trying to use some code to refer to a public folder for merging pdf files.
Aug 8 '09 #1
Share this Question
Share on Google+
1 Reply


P: 74
Ok, i got it. It would be:

Expand|Select|Wrap|Line Numbers
  1. Kill Environ("systemdrive") & "\PDF_Printer\Files\" & "filename.pdf"
Aug 8 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.