Consulting

Results 1 to 11 of 11

Thread: Solved: End of Day upload to Server fuction

  1. #1
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,075
    Location

    Solved: End of Day upload to Server fuction

    Most of my daily spreadsheet work is done on a toughbook which is wireless linked to the server. Rather than rely on the wireless link, (which slows things down dramaticily), I save a copy of my work at the end of the day.

    Is it possible to create a button on the spreadsheet which will upload my C:/Grain Sampling & Testing.XLS to L:/Office/Ted/Grain Sampling & Testing in an effort to save time?

    Ted

  2. #2
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    This might work Ted but it doesn't check to see if the directory exists and you must run it with the workbook you wish to back up active. Can easily be attached to a toolbar button.
    [VBA]Sub saveBackup()
    ActiveWorkbook.SaveAs Filename:="L:/Office/Ted/Grain Sampling & Testing.xls", FileFormat:=xlNormal, _
    Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _
    CreateBackup:=False
    Application.Run "checkname"
    End Sub[/VBA]
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  3. #3
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,075
    Location
    Thanks Steve. Directory certainly exists.

  4. #4
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    I'm not a "laptop" person, but is there not the functionality to synchronise files with the server? Used to be called Briefcase if I remember right.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  5. #5
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,075
    Location
    Don't recall it being loaded on the toughbook MD. Won't be back at work or a week to check.

  6. #6
    Instead of using Saveas use Savecopyas method.

    Prasad Joshi

  7. #7
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,075
    Location
    Thanks for that. I'll try your method on return to work

  8. #8
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Ted,

    I have just bought a new laptop and looking in help Briefcase is still there.

    There is also a facility called Synchronize. It is a windows function, so you should have it. Look it up in Help, it might be what you want.

  9. #9
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Other ideas

    TreeComp
    Two-way-synchronisation, easy to use
    http://www.xs4all.nl/~lploeger/TreeComp3.htm

    Horodruin
    Three-way-synchronisation, hard to use
    http://web.tiscali.it/sbordoni/Stefano/

  10. #10
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,075
    Location
    Bob, the toughbooks were initially installed in the feed trucks to control the commodities being fed out. Most of their functions were stripped down to bare esentials, and any "excessive" software was removed.

    Their communications with the server is live, so that management can oversee the feedout program, which works fine until the link is broken, causing lost tickets ( feed outs for a series of pens).

    I shall have a good look when I return to work

  11. #11
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by Aussiebear
    Bob, the toughbooks were initially installed in the feed trucks to control the commodities being fed out. Most of their functions were stripped down to bare esentials, and any "excessive" software was removed.

    Their communications with the server is live, so that management can oversee the feedout program, which works fine until the link is broken, causing lost tickets ( feed outs for a series of pens).

    I shall have a good look when I return to work
    I think that Briefcase is so embedded within the OS that you would struggle to remove it.

Posting Permissions

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