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 / March 2005

Tip: Looking for answers? Try searching our database.

input box upon workbook open

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
papa jonah - 29 Mar 2005 19:08 GMT
I want to have an input box that will ask for a date when a workbook is
opened.
I want to be able to us the date that is input in code that will be run
from a macro.

The reason I want the input box upon open instead of when the macro is
run, is because the end user uses the file repeatedly for multiple
calculations.  This date will be applied to all of the calculations,
and I don't want the user to have to enter the same date over and over.

I assume that I need something like a "public enddate as date" in the
ThisWorkbook object.

This however doesn't work.  What do I need to do to be able to
reference the inputed date later?

TIA
JulieD - 31 Mar 2005 16:49 GMT
Hi

you'll need to store it in an "out of the way" cell somewhere and i'ld
advise on before_close code to clear the cell to ensure that next time the
workbook opens the new date gets entered and used.

Cheers
JulieD

>I want to have an input box that will ask for a date when a workbook is
> opened.
[quoted text clipped - 13 lines]
>
> TIA
 
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.