codestack icon indicating copy to clipboard operation
codestack copied to clipboard

change folder location for flat pattern export

Open nateinator opened this issue 4 years ago • 0 comments

I'm trying to make the export folder go to a folder labeled with the current date.

I've changed

Const OUT_NAME_TEMPLATE As String = "DXFs\<_FileName_>_<_ConfName_>.dxf"

to

Const OUT_NAME_TEMPLATE As String = "Engineering Docs " & Format(Now, "mm.dd.yy") & "\<_FileName_>_<_ConfName_>.dxf"

but it keeps erroring out. To fix the error i tried moving the new line into the sub but I don't think it is working because it is a constant not a variable. Maybe having to do with the fact that it is an array?

Any suggestions would be appreciated

nateinator avatar Jan 04 '22 16:01 nateinator