I want when excel file is opened. vba verify the date. if are on a certain date (eg June 30, 2012) will display a pop-up messages that have message: "The file needs to be updated. Click OK to renew or click Cancel to view the contents of the file" ...
So in a pop-up messages have OK and Cancel buttons
If click "OK" then the excel file will be closed (
if click "Cancel" then open the excel file but Readonly.
Can not be made in VBA?
help me please ......

Thangs b4.
So in a pop-up messages have OK and Cancel buttons
If click "OK" then the excel file will be closed (
Active
Workbook.Close
)if click "Cancel" then open the excel file but Readonly.
Can not be made in VBA?
help me please ......


Thangs b4.