Auto open excel for every 30minutes

bujji1305

New Member
Joined
Jun 4, 2012
Messages
5
Hi friends,
I have excel file in my desktop and doing some report generation with that. i need to open that excel file for every 30minutes. How can i do? please help me?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi,

You can setup one scheduler in windows. You can schedule the below VBS file in windows

Copy and Paste the below code in to a Notepad and Save it with extn ".VBS"
Code:
Dim myExcel
Set myExcel = CreateObject("Excel.Application") 
myExcel.DisplayAlerts = False
myExcel.AskToUpdateLinks = False
myExcel.AlertBeforeOverwriting = False
myExcel.Workbooks.Open("C:\Users\vishwamitrad_m\Documents\Book1.xlsx")
myExcel.visible=true
 
Upvote 0
Thank you vishmishra. How can i set the time interval so as to run it for every 30minutes. and where can i save it. I saved it on my desktop only.
 
Upvote 0
yes its working vishmishra. thank you so much. but once my system was restarted is that vba script will work?
 
Upvote 0

Forum statistics

Threads
1,203,072
Messages
6,053,377
Members
444,660
Latest member
Mingalsbe

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top