Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7169053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:54:25+00:00 2026-05-28T14:54:25+00:00

I have an access database front-end, and on a buttonclick, certain files are opening,

  • 0

I have an access database front-end, and on a buttonclick, certain files are opening, with the software they are associated with.
The code to achieve this is the following:

If (IsNull(Me.filepath)) Then Exit Sub
If (FileFolderExists(Me.filepath)) Then
    If (isFolder(Me.filepath)) Then
        Shell "explorer.exe " & Me.filepath, vbNormalFocus
    Else
        FollowHyperlink Me.filepath
    End If
End If

Well, this is all good and working, but the file won’t open, if the filename contains # symbols. Wich is unfortunatly the case: Some of the filenames look like this: 13_tamogatodontes##1911_201001.pdf

I tried to find some answers with google, and on msdn, did not found any useful info.
Does somebody know how to solve this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T14:54:26+00:00Added an answer on May 28, 2026 at 2:54 pm

    You need to enclose your filename in quotes also, e.g:

    Shell "explorer.exe " & "" & Me.filepath & "", vbNormalFocus
    

    I’m not sure if it’s 2 or 3 double quotes but have a play around : )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few ASP.Net database front-end websites where MS Access is the back-end.
I have the following problem in a Database using Access 2007 as front end
I have a front end and back end of an Access database. The front
I have a front-end Access 2007 database connecting to MySql tables using MySQL ODBC
i have a split front-end and back-end access database. i am planning to move
I have an MS Access database (.mdb) with a front end of reports built
i have an access front end for a sql server database my question is:
i have an access front end. the backend is a sql server database. can
i have an access database on a server. it is split up into front
I have a MS Access 2003 mdb acting as a front end for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.