help with macro that opens and close

JasonLevan

Registered User.
Local time
Today, 12:49
Joined
Jan 25, 2011
Messages
21
I need a macro that will open one workbook and go to it, but close the one it just came from so i dont have it open anymore. It does not need to save changes when it close.


Thanks
 
check out the :
Code:
application.workbooks.open("path")
method.

this is very easy. google it.
 
I saw this but my problem is that once I switch over to a new workbook the one I want to close is not the "Active.Workbook" so how do i get it.
 

Users who are viewing this thread

Back
Top Bottom