Also if you are using late binding to Excel as implied by your designation of Object to the Excel parts, you need to substitute all the Excel specific commands such as 'xldelimited' for their numeric equivalents (in this instance 1). You have more than a few such commands in the code.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|