Message 1 of 4
idw PDF creation on save

Not applicable
11-23-2010
10:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am wanting to save a PDF of an idw in Vault automatically.
I got this code from a link that works for saving the idw as a PDF in the folder shown V:\Vault\Designs\Stock Items\PDF
This code saves the idw as the file name e.g.. PDFBA1234.
Part Information:
The ipt & idw are BA1234.
I am wanting to use the information from the iproperties 'Project tab' part number which is this number BM5678.
If possible I would also like to save the PDFs with the idw in the same folder. Folder structure is below
Stock Items
-BA
-BB
-BC
etc
Can anyone help?
Thanks
strFolder = "V:\Vault\Designs\Stock Items\PDF" & ThisDoc.FileName(False) 'without extension
ThisDoc.Document.SaveAs(strFolder & (".pdf") , True)
MessageBox.Show("All file formats saved", "File Save")