Talismanic
Registered User.
- Local time
- Today, 13:51
- Joined
- May 25, 2000
- Messages
- 377
This code allows me to dynamically create the file names for my export based on the date.
Dim dtName As Date
Dim strFName As String
dtName = Date
strFName = "W:\Payroll\PR" & Format(dtName, "mmdd") & ".txt"
' Exports time to listed directory like this PR0425.txt
DoCmd.TransferText acExportDelim, "Bidtek", "BidtekRejoinReport", _
strFName, False
I would like to either prompt the user for a export location or have it allways go to the desktop (preferable). Is it possible to send a file to a users desktop regardless of the users profile path or OS (Windows 9x, Windows 2K).
I mean is there a universal command for sending the file to the current users desktop?
[This message has been edited by Talismanic (edited 04-25-2001).]
Dim dtName As Date
Dim strFName As String
dtName = Date
strFName = "W:\Payroll\PR" & Format(dtName, "mmdd") & ".txt"
' Exports time to listed directory like this PR0425.txt
DoCmd.TransferText acExportDelim, "Bidtek", "BidtekRejoinReport", _
strFName, False
I would like to either prompt the user for a export location or have it allways go to the desktop (preferable). Is it possible to send a file to a users desktop regardless of the users profile path or OS (Windows 9x, Windows 2K).
I mean is there a universal command for sending the file to the current users desktop?
[This message has been edited by Talismanic (edited 04-25-2001).]