【发布时间】:2014-03-14 02:01:20
【问题描述】:
我正在尝试通过 Excel 中的 vba 使用十六进制编辑器打开一系列 .dat 文件,然后开始复制和粘贴过程。有人知道如何在 Excel 的 vba 中使用除 excel 以外的程序打开文件吗?我编写的代码中也有一些错误。
test = count
Do While (test >= 0)
Workbooks.Open Filename:=AllFiles(test) 'Open .dat file in order of Highest to Lowest count index. ERROR: SUBSCRIPT OUT OF RANGE. Need to open .dat files with Hex Edit HOW?
test = test - 1
Loop
'How do I manipulate the Hex Editor program: HxD with vba excel??
【问题讨论】:
标签: file-io while-loop subscript outofrangeexception