excel - Deprecated "Filename:=cPath"? Memory Leak -
i debugging macro , have narrowed down point of memory leak (when excel stops responding , restarts) section of code:
workbooks.opentext filename:=vcpath _ , origin:=437, startrow:=1, datatype:=xldelimited, textqualifier:= _ xldoublequote, consecutivedelimiter:=false, tab:=false, semicolon:=false _ , comma:=true, space:=false, other:=false, fieldinfo:=array(array(1, 1), _ array(2, 1), array(3, 1), array(4, 1), array(5, 1), array(6, 1), array(7, 1), array(8, 1), _ array(9, 1), array(10, 1), array(11, 1), array(12, 1), array(13, 1)), _ trailingminusnumbers:=true
is syntax deprecated or something? there way make less demanding?
after select file (the file that's being opened) error message:
"run-time error '1004':
"could not found. check spelling of file name, , verify file location correct..."
Comments
Post a Comment