Display Filename on Form

  • Thread starter Thread starter TomP
  • Start date Start date
T

TomP

Hello:

Is there a way to have the filename automatically display on a textbox
and/or label to a form? If so, how would the code be written? I've seen vb
codes where the pathname is displayed, but not the file itself.

Thank you for your help!

Tom
 
Set the control source property of the textbox to
=CurrentProject.FullName
 

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