Converting Word Perfect to MS Word

W

Willie G.

Using VBA I tried to convert and open a word perfect file
to a Microsoft Word document. Here is some code I tried
(it didn't work) Need suggestions and help.



If FileConverters("WordPerfect 6.x").CanOpen = True Then
Documents.Open FileName:=strDocName,
Format:=FileConverters("WordPerfect 6.x").OpenFormat

Thanks,
Willie
 
J

Jezebel

Try this:

On error resume next
Documents.Open FileName:=strDocName
If Err.Number <> 0 then
MsgBox "Didn't work ..."
End if
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top