Solved

Task Scheduler to open Excel file daily

Posted on 2014-03-24
5
3,447 Views
Last Modified: 2014-04-23
Win7 Pro, Office 2007

I would like to schedule Windows to open a specific spreadsheet daily at 8 AM.  The file path is something like X:\A A\B B\C- C.xlsm.  Also the file is password protected with a password like 123.

Can anyone assist with this?
0
Comment
Question by:drunkennoodle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39950542
This is a basic scheduler operation and can be found at Microsoft's website

http://windows.microsoft.com/en-au/windows/schedule-task#1TC=windows-7
0
 

Author Comment

by:drunkennoodle
ID: 39951332
Thanks Ace but I'm looking for more than just how find the Task Scheduler.
0
 
LVL 10

Accepted Solution

by:
broro183 earned 500 total points
ID: 39963452
hi,

I've done some testing & some reading and it seems that Task Scheduler can't open a password protected file. However, you could use a "helper excel file" that subsequently opens the desired file via code.
This helper workbook would have a macro named auto_open (or Workbook_Open) that would open the real
workbook (by supplying the password) and then get out of the way:
Option Explicit
Sub auto_open()
Workbooks.Open Filename:="c:\my documents\excel\book2.xls", _
password:="yourpasswordhere"
ThisWorkbook.Close savechanges:=False
End Sub

Open in new window


Here are a some of the links that I've read, they are all quite old but seem relevant:
https://groups.google.com/forum/#!topic/excel-macros/z-xN9HcmRm0
http://www.excelbanter.com/showpost.php?s=afbe915163fada0bb5c23fd63324dc0f&p=301786&postcount=2
http://answers.microsoft.com/en-us/office/forum/office_2003-excel/auto-protect-unprotect-excel-file/0239a6dd-59ae-4466-9bfe-f3161ec04162

Rob
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 40017674
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question