Home > Software engineering >  VB call word to open the file, the path "/" and "" escaped.
VB call word to open the file, the path "/" and "" escaped.

Time:11-10

Imports. Microsoft Office. Interop. Word

Private w_app As Application
Private w_doc As Document

W_doc=w_app. Documents. The Open (StrConv (filePath, VbStrConv SimplifiedChinese))


The filePath as "C:/Temp/Test documents the Test File. The docx", execute popup window to open the word "sorry I can't find your files, whether can be mobile, rename or delete? (C: \//Temp/test documents Test20 % File. The docx) ",

CodePudding user response:

Why strconv?
  •  Tags:  
  • VBA
  • Related