OpenExcel is a command line utility program that provides the ability to open one or multiple Excel files, wait a specified number of seconds, and then close the workbooks. An alternative option is to use TASKKILL, however that approach closes all instances of Excel. The advantage of OpenExcel is that it only closes the specific workbooks.


OpenExcel is useful for Excel files that implement VBA scripts with the events Workbook_Open and Workbook_BeforeClose. For example, the Workbook_Open event may use a third party add-on to download data. The Workbook_BeforeClose event saves the downloaded data values (not formulas) to a separate file. The data download may take minutes to complete. However, trying to use VBA to perform the wait results in blocking the download operation.

Example:
OpenExcel.exe -File:c:\temp\data.xls -Visible -CloseSeconds:15 -ShowCountDown

Note: the VBA code Application.OnTime Now + TimeValue("00:00:59"), "MethodName" may be an alternative solution.

Features

  • Unblock the zip file after downloading.
  • See the readme txt file for a list of the command line arguments.
  • Supports all versions of MS Excel.

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Excel Timer

Excel Timer Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Excel Timer!

Additional Project Details

Languages

English

Intended Audience

Advanced End Users, End Users/Desktop

User Interface

Non-interactive (Daemon), Win32 (MS Windows)

Programming Language

C#

Related Categories

C# Desktop Environment Software

Registered

2018-09-12