Message 1 of 7
Folder creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Why does this create a folder with an added character?
It adds a "T" or a "C" depending on the name of folder the the drawing is in. In this case, the folder named T-II creates "TPDF" and Commom creates "CPDF"
oFolder = ThisDoc.Path (InStrRev(ThisDoc.Path,"\")) & "PDF"
'Check for the PDF folder and create it if it does not exist
If Not System.IO.Directory.Exists(oFolder) Then
System.IO.Directory.CreateDirectory(oFolder)
End If
What is the correct way to do this?