View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 1,726
Default Open Another Book


Private Sub Workbook_Open()
worksbooks.Open "C:\Myfiles\mybook.xls"
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Carpe Diem" wrote in message
ups.com...
Hi,

I wolud like to make a macro that when I open a book, will
automatically open another book that I define.

Can someone help me ???

Thank you in advance

Ricardo Galveia