cancel dialogue box automatically in program

  • Thread starter Thread starter james
  • Start date Start date
J

james

Dear all:
i am running a program to check each file in a fold. Each
time when the program opens a file, the excel shows a
dialogue box, which asks for whether updating link.
Would anyone provide some code which can automatically
cancel this box?

many thx

Best wishes,

james
 
James,

All it takes is another argument in the workbook.open statement:

Workbooks.Open "PathAndFileName", False

HTH,
Nikos
 

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

Back
Top