Database directory via VBA

  • Thread starter Thread starter Stu
  • Start date Start date
S

Stu

Can someone provide a line or two of VBA code that shows the full directory
path of the current database? (Purpose: I want to disable the db if the
user isn't running from a certain directory.)
 
Application.CurrentDb.Name (string; includes both path and database_name.mdb)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top