Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2004

Tip: Looking for answers? Try searching our database.

Workbook Open Event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sgrech - 22 Sep 2004 19:16 GMT
Hi,
Upon opening a workbook i want to do a check to see whether the date i
cell A1 in Sheet1 is equal to today.  
If it isn't equal then display a msg box saying that the "index price
are out of date please update".

Thanks in advance.
Simo
- 22 Sep 2004 20:22 GMT
hi,
add this to the workbook open event
sub chkdate()
Dim dat1 As Date
dat1 = Cells(1, 1)
If dat1 <> Date Then
   MsgBox "update the price indexes. NOW!"
End If
end sub
>-----Original Message-----
>
>Hi,
>Upon opening a workbook i want to do a check to see
whether the date in
>cell A1 in Sheet1 is equal to today.  
>If it isn't equal then display a msg box saying that
the "index prices
>are out of date please update".
>
>Thanks in advance.
>Simon
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.