+ Reply to Thread
Results 1 to 5 of 5

Is it possible to run a macro to upload Access DB to a shared drive?

  1. #1
    Registered User
    Join Date
    10-04-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Is it possible to run a macro to upload Access DB to a shared drive?

    Hi,
    Every day I have to upload about 10 or 12 databases to a shared drive in case someone has to back me up. When I do this I have to open up twelve separate folders and then drag my copy into a zipfile to overwrite the current DB. I have to do this everyday in case for some reason I'm out or lose my connection. Is there a macro or code I can use in a Access that would allow me to list all the paths and DB's to be uploaded to the shared folder or paths? I know that I can run a macro to download excel documents from SharePoint and can even upload to SharePoint, but what about a shared drive? Any thoughts? Thanks so much!

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,920

    Re: Is it possible to run a macro to upload Access DB to a shared drive?

    Look here

    http://lmgtfy.com/?q=batch+file+to+c...+to+new+folder

    A DOS solution
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    10-04-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Is it possible to run a macro to upload Access DB to a shared drive?

    Wow seriously??! I don't know if meant to come off the way you did but I know how to use Google.. I wouldn't have used the forum if the answer was that easy.. You should not waste anyone's time posting that crap on here.. If you don't have a good answer or code just don't post anything! Let me clarify... I am not looking for a DOS or command code.
    SERIOUSLY???

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,920

    Re: Is it possible to run a macro to upload Access DB to a shared drive?

    Mr Tactless here again. Suggest you split your db into a FE and BE and share it with your counterparts so you don't have to go through this exercise. Take a look at Bob Larsen's site and look at splitting your db. It is the smarter thing to do. Since you know how to use google, I guess I don't need to give you a leg up and share the link. Good luck with your project.

  5. #5
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Is it possible to run a macro to upload Access DB to a shared drive?

    Why not just keep the DBs on the shared drive? If you're copying them their anyway, wouldn't it just pay to keep them there? You could even incorporate alansidman's solution by just moving the front or back end to the shared drive, depending on your needs.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1