I'm working on a project to update production notes in a manufacturing schedule. I've a macro written to pull in the data to the manufacturing schedule, but I need to execute the macro in the file automaticaly every 16 minutes, but only while the user has the manufacturing schedule open.
I've tried using "Application.OnTime" with specific times, but this seems to open the manufacturing schdule if its closed.
A point that may also be relevant is that this will be a shared file on Excel 2010.
I'm pretty new to VBA so any assistance with the code would be much appreciated. The code I'm using is pretty basic:
Private Sub Workbook_Open()
'Application.OnTime TimeValue("08:00:30"), "Open_SFCDB"
'Application.OnTime TimeValue("08:16:30"), "Open_SFCDB"
'Application.OnTime TimeValue("08:32:30"), "Open_SFCDB"
'Application.OnTime TimeValue("08:48:30"), "Open_SFCDB"
'Application.OnTime TimeValue("09:04:30"), "Open_SFCDB"
......Etc, Etc for 24 hr period
'End Sub
Bookmarks