Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default How would I create a routine that runs every 15 mins?


I will have a userform open on worksheet MASTER
I want to make a routine that every 15 minutes, it will append a new record
in a non selected worksheet (Worksheet 15minrecord), then paste some
numbers in, and then return to the selected worksheet.

How would I do this? What are the chances that it will interfer with what I
am doing in MASTER with my userform?

Thanks
Bruce


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default How would I create a routine that runs every 15 mins?

Bruce,

You can use the OnTime method to schedule a procedure to execute at a
specific time. See www.cpearson.com/excel/ontime.htm for more details.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"BruceJ" wrote in message
news:bGzlb.364$e01.541@attbi_s02...

I will have a userform open on worksheet MASTER
I want to make a routine that every 15 minutes, it will append a new

record
in a non selected worksheet (Worksheet 15minrecord), then paste some
numbers in, and then return to the selected worksheet.

How would I do this? What are the chances that it will interfer with what

I
am doing in MASTER with my userform?

Thanks
Bruce




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How would I create a routine that runs every 15 mins?

Look at Chip Pearson's page on the use of Application.Ontime

http://www.cpearson.com/excel/ontime.htm

ontime is not preemtive, so it will not fire while your userform is up
(modal) or excel is busy.

--
Regards,
Tom Ogilvy


"BruceJ" wrote in message
news:bGzlb.364$e01.541@attbi_s02...

I will have a userform open on worksheet MASTER
I want to make a routine that every 15 minutes, it will append a new

record
in a non selected worksheet (Worksheet 15minrecord), then paste some
numbers in, and then return to the selected worksheet.

How would I do this? What are the chances that it will interfer with what

I
am doing in MASTER with my userform?

Thanks
Bruce




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
How do you create a running countdown that continually runs? ultra06 Excel Discussion (Misc queries) 1 August 12th 07 09:06 PM
how can i convert a value quoted in hrs,mins,secs to just mins The man from delmonte Excel Worksheet Functions 1 October 17th 06 11:12 AM
Adding minutes showing total in hours/minutes, i.e., 60 mins + 60 mins + 15 mins to total of 2 hours 15 mins? StargateFan Excel Discussion (Misc queries) 8 January 7th 06 07:35 PM
How to convert numeric value to mins and addimg mins to Hrs. ramana Excel Worksheet Functions 1 October 28th 05 10:42 AM
How to create a routine Tara Excel Discussion (Misc queries) 1 August 12th 05 02:28 AM


All times are GMT +1. The time now is 07:03 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"