ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Updating sheet (https://www.excelbanter.com/excel-programming/288102-updating-sheet.html)

Fu Manchu[_4_]

Updating sheet
 
I'm a newbie at VBA and i'm having big trouble with updating excel every
2 or 5 minuts.

I've tried with Application.OnTime Now + TimeValue("00:05:00"),
"Proc_Name" and the sub "Proc_name"... But i can't get it to work.

I need updating because another user is using excel-sheet 1 and filling
in data and I need to se it updated every 2 or 5 minuts.

Could someone show me the hole VBA-code, please. I'm updating from
another excel-worksheet...

Sorry, but this it my only chache to get it right....

Fu


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


mudraker[_108_]

Updating sheet
 
sub My_Procedure

your code here

' this is one line command
Application.OnTime Now + TimeValue("00:05:00"), "my_Procedure"

end su

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



All times are GMT +1. The time now is 04:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com