• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Automatically open a specific Excel file when PC starts

When I boot up my laptop, I want a particular Excel file to automatically open. I don't want to move the file to the 'Startup' folder. I want to keep the Excel file where it is and still have it open automatically when I start up my PC.

Is there a way to do this?
 
You can create in your Startup folder of your profile Start Menu folder a batch file (ex. Launch.bat) with these two lines of script (see below) .
In my PC this path is (it's a hidden folder): C:\Users\rollis13\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
In the batch script you need to update the path to the Excel executable, the one reported is mine since I am using Excel 2016 32 bit, and the path to the file.
Code:
@ECHO OFF
@START "C:\Program Files (x86)\Microsoft Office\root\Office16\Excel.exe" "F:\Testing\YourFile.xlsm"
 
Last edited:
Not sure this would work, but if you put a shortcut to your Excel workbook in the startup folder, would that work? If so, you might find it simpler than doing the .bat thing, or at least more intuitive.

You know about shortcuts, right?
 
Back
Top