我有一个大的xlsx文件正在90MB使用phpexcel它给我
Warning: simplexml_load_string(): Memory allocation failed : growing buffer
Run Code Online (Sandbox Code Playgroud)
我尝试使用此处记录的每个方法加载文件,并且还更改了php.ini memory_limit = -1.
我正在尝试将xlsx文件转换为csv文件,以便可以轻松加载.
有没有办法在不使用phpexcel的情况下将xlsx文件转换为csv?
我尝试调用从VBS VBA子程序与VBS传递一个字符串变量VBA,却找不到此时,相应的语法:
'VBS:
'------------------------
Option Explicit
Set ArgObj = WScript.Arguments
Dim strPath
mystr = ArgObj(0) '?
'Creating shell object
Set WshShell = CreateObject("WScript.Shell")
'Creating File System Object
Set objFSO = CreateObject("Scripting.FileSystemObject")
'Getting the Folder Object
Set ObjFolder = objFSO.GetFolder(WshShell.CurrentDirectory)
'Getting the list of Files
Set ObjFiles = ObjFolder.Files
'Creat a Word application object
Set wdApp = CreateObject("Word.Application")
wdApp.DisplayAlerts = True
wdApp.Visible = True
'Running macro on each wdS-File
Counter = 0
For Each objFile in objFiles
If UCase(objFSO.GetExtensionName(objFile.name)) = "DOC" …Run Code Online (Sandbox Code Playgroud)