Part Number/Name added to output file name
Part Number/Name added to output file name
(OP)
OK this is probably really stupid simple, i must be over looking something, but can one of yall help. I wrote a VBA macro for a part file to output some information to a txt file. Currently I have this:
strFilePath = "C:\Users\bzander.MININT-Q2K9KRN\Desktop\Notes.txt"
to define the file path to save to. I would like to add the actual part name to that so the txt file name would be "XXXXX Notes.txt" with the xxx representing the part name.
strFilePath = "C:\Users\bzander.MININT-Q2K9KRN\Desktop\Notes.txt"
to define the file path to save to. I would like to add the actual part name to that so the txt file name would be "XXXXX Notes.txt" with the xxx representing the part name.





RE: Part Number/Name added to output file name
Maybe something like bellow:
strFilePath = "C:\Users\bzander.MININT-Q2K9KRN\Desktop\" & CATIA.ActiveDocument.Name & "Notes.txt"
Regards
Fernando
https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...
RE: Part Number/Name added to output file name
RE: Part Number/Name added to output file name
thanks for your help!