Results 1 to 4 of 4

Thread: VBA login script help

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    VBAX Newbie
    Joined
    Mar 2015
    Posts
    3
    Location
    Just an update, I got another to work which follows a similar format to what you proposed (xld):

    strUserDatabasePath = "C:\Users\" & strUserName & "\"

    strPath = "\\VirtualServer1\templates\Business Database\Database1.accdb"
    If IfFileExist(strPath) Then objFSO.CopyFile strPath, strUserDatabasePath

    strPath = "\\VirtualServer1\templates\Business Database\Graphics"
    If IfFileExist(strPath) Then objFSO.CopyFolder strPath, strUserDatabasePath

    strPath = "\\VirtualServer1\templates\Business Database\Icons"
    If IfFileExist(strPath) Then objFSO.CopyFolder strPath, strUserDatabasePath
    Yet the previous syntax posted still does not function as intended.
    Last edited by McMeevin; 03-09-2015 at 09:55 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •