Backups using Explorer

G

Guest

I am using the code at bottom of this post to backup my tables to a floppy
disk.

Is there any way to open Windows Explorer and let the user decide where to
back up too?

Any help appreciated.

Ray

---------------------------------------
Set FSO = CreateObject("Scripting.FileSystemObject")

CopyFrom = "c:\member management\Legion Membership tables*.mdb"
ParentFolder = "A:\"

Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.NameSpace(ParentFolder) 'This is where the files
will be copied to
objFolder.CopyHere CopyFrom, FOF_CREATEPROGRESSDLG

-------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top