Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run Macro w/o Opening Excel

I need to run a macro everyday, including the weekends but no one is
here to open the workbook or even excel. I can leave my computer on if
I need to, but I would rather not. I tried
Application.OnTime TimeValue("13:15:00"), "MyMacro" to run at a certain
time each day, but it still didn't work. Please Help!


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run Macro w/o Opening Excel

Do you have access to the Windows Task Scheduler?

If so, schedule a batch job to shell out to your Excel file and put
call to your code in the Workbook_Open event.

Just a thought..

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run Macro w/o Opening Excel

I can't use task manger, corparate blockou

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run Macro w/o Opening Excel

we're on the same page, i meant Task Scheduler. I basically can't mes
with any of the computer setting because I don't have administrativ
rights on my computer, so Dos commands won't work either. thanks fo
the input though

--
Message posted from http://www.ExcelForum.com

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run Macro w/o Opening Excel

Well if you can stay logged on, and you can leave the book open, yo
could use the timer function to run the code. Though this is probabl
the worst way to do it.

Or maybe you could get an admin to schedule it for you

--
Message posted from http://www.ExcelForum.com



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run Macro w/o Opening Excel

ok, i was able to get the admin password so i can go in a schedul
windows to open excel, but how do i open my file (which is all i reall
need to do, the code is set up to run when you open the file

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening a Macro in Excel 2007 Ken Excel Discussion (Misc queries) 1 December 6th 07 08:00 PM
Opening an Excel file with macro Johan_vl2431 Excel Discussion (Misc queries) 0 May 1st 07 02:57 PM
Excel Macro Issue Trying to autorun Macro Upon Opening Worksheet wyndman Excel Programming 2 May 25th 04 06:59 PM
Opening Word Ducuments From Excel Macro DB100 Excel Programming 1 May 6th 04 05:36 PM
Opening a webpage from a vba macro in excel Irishmaninusa Excel Programming 1 August 13th 03 07:28 PM


All times are GMT +1. The time now is 09:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"