Hello,
We have a pair of calibration programs that need to be run at the beginning of the day prior to running production. How could I automatically "lock up" the machine until the operator runs these programs? If there is a method of doing this in VBA, that would be ideal.
Thanks,
M
If not too much then you probably don't need to use VBA.
You could have a bit of code at the start of each program that reads in a text file, all this file needs to contain is the date. If the date doesn't match the current date then you end the program/routine.
At the end of the calibration program you simply make it write the current date to the text file.
I like this idea but it would require updating 3000 programs. Is there a way of automating such a thing? Or creating a program that always runs at the start of every program by default.
I like this idea but it would require updating 3000 programs. Is there a way of automating such a thing? Or creating a program that always runs at the start of every program by default.