Results 1 to 3 of 3
  1. #1
    Yodo is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Apr 2017
    Posts
    12

    How to change default path for a hyperlink?

    Currently when I open edit hyperlink dialog, Access open the folder where DB is stored. I want to link files deep inside my computer, so now I manually have to show the path to my files again and again. I've googled, I 'm not the first to stump upon this thing but I didn't find any working solution. So, is there a way to change default path to the folder I'd like ?

  2. #2
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051

  3. #3
    Yodo is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Apr 2017
    Posts
    12
    Thank you! So, I need to use only this snippet?

    Set f = Application.FileDialog(3)
    f.AllowMultiSelect = False
    If f.Show Then
    For Each varItem In f.SelectedItems
    strFile = Dir(varItem)
    strFolder = Left(varItem, Len(varItem) - Len(strFile))
    P = strFolder & strFile
    Next
    End If
    Set f = Nothing

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

Similar Threads

  1. Replies: 4
    Last Post: 07-21-2015, 11:17 AM
  2. Default Hyperlink Text
    By mrmims in forum Forms
    Replies: 4
    Last Post: 07-07-2015, 04:17 PM
  3. Default path for Insert hyperlink code
    By jaworski_m in forum Programming
    Replies: 3
    Last Post: 02-13-2015, 10:42 AM
  4. Insert hyperlink - ensure absolute path
    By jaworski_m in forum Programming
    Replies: 1
    Last Post: 02-04-2015, 11:39 AM
  5. Replies: 5
    Last Post: 10-28-2013, 08:09 AM

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