Results 1 to 4 of 4
  1. #1
    ma t is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Mar 2011
    Posts
    8

    FollowHyperlink to file in DropBox??? I need HELP!

    Hello- I am trying to use followhyperlink as a way to open a link in a browser to a file in a shared dropbox folder. I have a form with a control, the control is named LinkToDoc it's record source is a text field in a table. The file path in the table is similar to https://www.dropbox.com/s/7u88x58dbi...ral_FID69.docx. I am getting run time error 15, cannot open the specified file. Does anyone know if this is possible? Thank you very much in advance!

    Code:
    Private Sub cmdOpenFile_Click()
    Application.FollowHyperlink LinktoDoc
    End Sub


  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I have doubts FollowHyperlink can do this.

    If Dropbox is anything like loading a file to Box.com (I use that fileshare site), what might have to do is download file to local drive then open the local copy. When finished editing, upload the file back to the shared folder.

    I expect VBA code that manipulates IE browser could accomplish the down and up loading steps.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    ma t is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Mar 2011
    Posts
    8
    Thank you, June7, any idea where I can get that code? Many thanks,

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    The most I've ever done is open IE browser and pass in some values to boxes on web page. How to automate down and up loading is unknown to me.

    My code:

    Dim oBrowser As InternetExplorer
    Set oBrowser = New InternetExplorer
    oBrowser.Silent = True
    oBrowser.Navigate "https://login.ihserc.com/login/erc?"
    oBrowser.Visible = True
    Do
    'Wait till the Browser is loaded
    Loop Until oBrowser.ReadyState = READYSTATE_COMPLETE
    oBrowser.Document.all.Item("subAcctLoginName").Val ue = "login name"
    oBrowser.Document.all.Item("subAcctPassword").Valu e = "password"
    oBrowser.Document.all.Item("Submit").Click

    Google: VBA download upload file web page
    Does this help http://www.cpearson.com/Excel/DownloadFile.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. FollowHyperlink Help
    By RachelBedi in forum Access
    Replies: 6
    Last Post: 01-18-2013, 08:22 AM
  2. Help with dropbox + subform
    By krouchchocolate in forum Access
    Replies: 1
    Last Post: 07-19-2012, 11:26 PM
  3. Parameter query with DropBox through Form
    By dbalilti in forum Forms
    Replies: 17
    Last Post: 06-01-2012, 09:34 AM
  4. dropbox might be changing relationships
    By Gûlghâshbúrz in forum Database Design
    Replies: 8
    Last Post: 03-15-2012, 03:15 AM
  5. Set IE window size using followhyperlink
    By AndrewAfresh in forum Access
    Replies: 0
    Last Post: 11-23-2006, 12:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums