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 / January 2008

Tip: Looking for answers? Try searching our database.

launch excel, auto-open second excel file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pacificwaters - 25 Jan 2008 21:53 GMT
I launch a fresh instance of Excel, which opens fine. And then it
automatically launches another xls file
(C:\ExistingFolder\PreExistingFile.xls)

How does it do this? Or how would we program this?

Thanks.
Gord Dibben - 25 Jan 2008 22:45 GMT
"Another file" means what?  Two files open?

How do you launch the fresh instance of Excel?

By shortcut?  Check the shortcut properties.................maybe the shortcut
points to a workspace file with two workbooks?

If by double-click on a file to open maybe that file has code in it?

Workbook_Open in Thisworkbook module or Auto_Open in a general module.

Private Sub Workbook_Open()
    Workbooks.Open "C:\Existing Folder\PreExistingFile.xls"
End Sub

Gord Dibben  MS Excel MVP

>I launch a fresh instance of Excel, which opens fine. And then it
>automatically launches another xls file
[quoted text clipped - 3 lines]
>
>Thanks.
pacificwaters - 28 Jan 2008 17:20 GMT
it's not a shortcut. i did look into the vba macro, but no code was there.
i'm only able to generate this delinquency on one computer out of our whole
network. so i think it's the MSI that was installed on this machine from when
the macro was programmed. anyways, thanks.

> "Another file" means what?  Two files open?
>
[quoted text clipped - 20 lines]
> >
> >Thanks.
 
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.