[QUOTE=Shrivallabha;105940]Could you specify the macro from post number??
1. Check if file path is valid.
2. If path is valid then do you have read-write access to the path?
3. If you have access then see how the file is being opened in first place.
Thank you! Mr Shrivallabha, I checked the path and write access, there is no problem, I think the problem is for equipment attribute: Description, the value is in French for this project, and the macro didn't handle that very well,
I changed the macro, add a handle any sentence to this sentence
!fileobj.writerecord(!DPRT[1])
Now the macro works fine.
Thank you