About MrExcel
Consulting Services
Learn Excel Resources
Challenge of the Month
MrExcel Seminars

Message Board

MrExcel Store


Siobhan asks I'm running a perl script which opens a batch file which opens an excel spread sheet and since i upgraded to win2k the stub that i had for opening it automatically will not work. It always asks me to enable macros. Is there another stub for excel 9.0 or excel 2000 which will do this and that I can download?

One solution would be to go to Excel, do Tools > Macro > Security and set the security setting to Low. This will eliminate the question about the macros. Not that I would recommend setting the security to low...

Another possibility is a short VB6 program that would open the Excel file. If you open an Excel file with VB6, you eliminate the enable macros warning.

By Bill Jelen on 15-Mar-2002 Consulting can be hired to implement this concept, or many other cool applications, with your data. provides examples of Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Visual Basic procedures on this web site are provided "as is" and we do not guarantee that they can be used in all situations.


Excel is a registered trademark of the Microsoft® Corporation.

All contents Copyright 1998-2008 by MrExcel Consulting.