- 306 名前:300 [2006/01/06(金) 09:03:43 ID:1e+7Xjcv]
- レスありがとうございます。
>>301 そうですか・・・。 >>302 officeは2000です。 後半意味がわかりませんが(すみません)、wsfは使っていないので、ASP越しだと思います。 後、マクロを含んだExcelだと別名保存ができません。 参照設定なども必要なのでしょうか? 以下、ソースです。 <% Dim XL Dim XB Dim OpenFile Dim SaveFile Set XL = Server.CreateObject("Excel.Application") Err.Clear On Error Resume Next OpenFile = Server.MapPath("./TEST.xls") SaveFile = Server.MapPath("./TEST1.xls") XL.Visible = False Set XB = XL.Application.Workbooks.Open(OpenFile) XB.ActiveSheet.Cells(1,1).value = "AAAA" XB.ActiveSheet.Cells(1,2).value = "BBBB" XB.Application.DisplayAlerts = False XB.SaveAS SaveFile XL.Quit Set XB = Nothing Set XL = Nothing %>
|

|