Hello I haven't tested more than that but I think the problem comes from swDocumentTypes_e.swDocNONE and the use of OpenDoc which has been obsolete for at least a good ten years (even if still supported it lacks options that can be useful for imports). I think I have already answered another topic on opening step files via macro, the 3D SW PDF does not know how to open it, you have to use Adobe, there is only the part that can work in the current macro. On the other hand, I will remove Help and Ctxt, if they are empty I might as well not put them and I will not bother with variables if they are not used elsewhere (msg hard in MsgBox as well as the different parameters). As it stands, the code snippet tries to open the file and not the folder in which the file is located.