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 / Programming / March 2006

Tip: Looking for answers? Try searching our database.

workbook_open option

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Aaron - 22 Mar 2006 22:00 GMT
Hi,

I have a file named Schedule Master.xls in which I manipulate and save as a
name+date.xls.  When I open the Schedule Master, I have code to automatically
import a new set of data.  However, if I need to open my name+date.xls files
in the future, I want to use the data already there...NOT download new data.

I'm wondering if I can enter code on the workbook_open event that will look
at the name of the file.  If it is named Schedule Master, then run download
macro.  IF it is not, then nothing.  Any help and/or other ideas would be
wonderful.
Doug Glancy - 22 Mar 2006 22:04 GMT
Aaron,

If ThisWorkbook.name = "Schedule Master" then
'download code here
endif

hth,

Doug

> Hi,
>
[quoted text clipped - 7 lines]
> macro.  IF it is not, then nothing.  Any help and/or other ideas would be
> wonderful.
 
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.