普大喜奔 当前离线
一级士官
set oExcel=CreateObject("Excel.Application")oExcel.Visible=Trueset xlsfile=oExcel.Workbooks.Open FileName:="d:\data.txt",ReadOnly:=True,Format:=6,Delimiter=:"|"COPY
set oexcel=createobject("excel.application")oexcel.visible=trueoexcel.workbooks.open Filename:="d:\data.txt"COPY
set oexcel=createobject("excel.application")oexcel.visible=trueoexcel.workbooks.open("d:\data.txt")COPY
TOP
CrLf 当前离线
论坛巡查
FileName:="d:\data.txt",ReadOnly:=True,Format:=6,Delimiter=:"|"
set xlsfile=oExcel.Workbooks.Open( "d:\data.txt",,True,6,,,,,"|")COPY
评分人数
set oexcel=createobject("excel.application")oexcel.visible=trueoexcel.workbooks.open "d:\data.txt",,True,6,,,,,"|"COPY
objWord.Visible=False'以只读方式打开,并且避免打开文件转换或编码对话框set docfile=objWord.Documents.Open FileName:=arg,ReadOnly:=True,ConfirmConversions:=false,NoEncodingDialog:=truestr=docfile.Contentdocfile.CloseCOPY