Documents.Open Subscript out of range error

P

Pablo Cardellino

Hi,

this line is triggering a runtime error '9': Subscript out of range:

Set dicdoc = Documents.Open(FileName:=Environ("appdata") & "\Corretor
AOLP\DicPT_NovaOrt.txt", _
AddToRecentFiles:=False, Revert:=False, OpenAndRepair:=True)

It was working OK until yesterday.

Does anyone knows why?

Regards,

Pablo Cardellino
Florianópolis, SC
Brazil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

document visibility 4
Documents.Open using a variable for filename 4
macro runtime error 1
Subscript out of Range 3
Subscript out of range 1
ERROR: subscript out of range 6
subscript out of range 2
double merge 2

Top