Results 1 to 4 of 4
  1. #1
    angie is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Dec 2013
    Posts
    232

    Hyperlink to open folder on network

    Hi


    I would like to create a command button on a form that would open a folder on a network.

    I have tired the following :
    styhyperlink="\\front\customer Pollock\"&me.customerID
    application.followhyperlink (styhperlink)

    I want it to open the folding within customer Pollock using the customerId.
    I have this written in the on click event.

    Thanks Angie

  2. #2
    jwill is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Mar 2012
    Location
    MD
    Posts
    67
    Code:
    Private Sub YourCommandButtonName_Click()
    
    FollowHyperlink ("\\front\customer Pollock\" & Me.customer_id)
    
    End Sub

  3. #3
    angie is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Dec 2013
    Posts
    232
    Quote Originally Posted by jwill View Post
    Code:
    Private Sub YourCommandButtonName_Click()
    
    FollowHyperlink ("\\front\customer Pollock\" & Me.customer_id)
    
    End Sub
    Thank you, it worked the first try..... Thanks again. Angie

  4. #4
    jwill is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Mar 2012
    Location
    MD
    Posts
    67
    You're welcome

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

Similar Threads

  1. Replies: 3
    Last Post: 06-04-2013, 09:51 AM
  2. Access 2010 and HyperLink to Folder
    By grapin in forum Programming
    Replies: 4
    Last Post: 04-13-2012, 01:07 PM
  3. open folder/Make new folder(example)-VBA Code
    By Madmax in forum Code Repository
    Replies: 3
    Last Post: 03-13-2012, 09:17 AM
  4. Hyperlink to network folders
    By smannon in forum Forms
    Replies: 1
    Last Post: 10-24-2011, 02:42 PM
  5. Enter a folder name and open that folder
    By pkstormy in forum Code Repository
    Replies: 0
    Last Post: 09-05-2010, 04:39 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