Quantcast
Channel: SCN : All Content - Scripting Languages
Viewing all articles
Browse latest Browse all 522

How to save as "XLSX" file?

$
0
0

Hello,

 

I viewed a couple of old posts regarding this matter

http://scn.sap.com/thread/3277944

http://scn.sap.com/message/15919600#15919600

 

But i'm not able to resolve the issue.

In one of the posts the asked to add the following

 

REM==
Set xclapp = GetObject(,"Excel.Application")
xclapp.displayalerts = false
Set xclwbk = xclapp.workbooks.item("Worksheet in ALVXXL01 (1)")
xclapp.ActiveWorkbook.SaveAs("C:\tmp\test.xlsx")
xclapp.ActiveWorkbook.close


Set xclwbk = Nothing

xclapp.displayalerts = true

set xclapp = Nothing

REM==

 

The script stops @

Set xclwbk = xclapp.workbooks.item("Worksheet in ALVXXL01 (1)")

 

help please

 

Chad Horihan& Script Man can you help on this? :-)


Viewing all articles
Browse latest Browse all 522

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>