How to open a windows folder from within MS-Access VBA?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Greetings,

I am making a document handling system.

I want to open the templates folder, create a new document based on a
template, save it and register its path and name in an access table.

How do I open a folder from within Access?

Thanks for reply.
Kamil
 
I'm not sure if you are talking about creating a new folder, if that the case
you can use MkDir

If Len(Dir("C:\DirName", vbDirectory)) = 0 Then
MkDir "C:\DirName"
End If
 
Thank you all who replied. I will try to figure out something out of your
comments.

Best
Kamil
 
Back
Top