+ Reply to Thread
Results 1 to 3 of 3

File Syncing in Dropbox

  1. #1
    Registered User
    Join Date
    05-02-2017
    Location
    Austin
    MS-Off Ver
    PC 2016
    Posts
    1

    Lightbulb File Syncing in Dropbox

    Within our company we use a number of Excel workbooks that link to other Excel workbooks.

    We use Dropbox and have run into issues when opening the same file on different computers - the files being linked to the file return with "#VALUE!" in each cell. With all of the services we have tested the file path for files is different for every machine. For example the same folder on two different machines would have file locations as below:

    Machine 1 Dropbox = C:[machine 1]\Dropbox\Excel Folder\Excel File

    Machine 2 Dropbox = C:[machine 2]\Dropbox\Excel Folder\Excel File

    When this happens you have to choose the source for the links every single time you open the file from a different machine. If you create a file with links to other files on machine 1 and then move to machine 2, machine 2 no knows where the files with 'machine 1' in the path as stored. This is a huge barrier for us using this kind of storage as every user would have to change each file each time they open it.

    I understand why this happens, but is there a way to get around this and have files link together in such a way that the links are relative rather than absolute.

    We are using Office 2016.

  2. #2
    Registered User
    Join Date
    12-17-2016
    Location
    South Wales
    MS-Off Ver
    Excel 2007, 2016
    Posts
    68

    Re: File Syncing in Dropbox

    Is there an option within the excel ENVIRON function that returns the machine name element? E.g. try =ENVIRON("COMPUTERNAME"). If so, use the INDIRECT function to reference - e.g.
    =INDIRECT("C:\"&ENVIRON("COMPUTERNAME")&"\Dropbox\Excel Folder\Excel File") - with of course the sheet name/rest of formula added within the quotes.

    Note that the other file has to be open for indirect to work.

    Another possibility would be to map a consistent network drive on each machine. For example, on machine 1, Z: is mapped to C:\Machine1\, on machine 2 Z: is mapped to C:\Machine2\, and so on. Your location for all machines is then Z:\Dropbox\Excel Folder\Excel File
    Last edited by Trevor_S; 05-14-2017 at 04:31 AM.

  3. #3
    Registered User
    Join Date
    12-17-2016
    Location
    South Wales
    MS-Off Ver
    Excel 2007, 2016
    Posts
    68

    Re: File Syncing in Dropbox

    Re previous post, have just realised that ENVIRON is only a function in VBA. So to use the first option above, you would need to create a user defined function such as:
    Please Login or Register  to view this content.
    Your formula would then be:
    =INDIRECT("C:\"&ENV("COMPUTERNAME")&"\Dropbox\Excel Folder\Excel File") - with of course the sheet name/rest of formula added within the quotes. You would also need files using these formulae to be macro enabled. This may make the drive mapping option the more straight forward!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. vba to only allow file to be opened from folder in dropbox, not on local cpu
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2016, 08:40 AM
  2. Problems saving to dropbox file
    By mako453 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-20-2016, 01:38 PM
  3. File download from google drive and dropbox
    By patz006 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-26-2015, 10:02 AM
  4. Excel VBA Code to upload a file to Dropbox using the Dropbox API
    By gb# in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-02-2014, 03:41 PM
  5. [SOLVED] Macro to open a file on Dropbox from any computer
    By ricdamiani in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-30-2013, 02:48 AM
  6. Macro to open a file on dropbox from any computer
    By skip2mylew in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2013, 06:03 PM
  7. Set permission to change and read-only file in dropbox
    By ioncila in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-12-2012, 06:01 AM

Tags for this Thread

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