View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Desmond Desmond is offline
external usenet poster
 
Posts: 28
Default How to open a workbook?

I need to check if a workbook, named 2005q4, is open, and if not, open it
and filter the data, copy them to a worksheet in a different workbook (which
is open), and create a PivotTable. I have created my code assuming 2005q4 is
open, (may not be active). How can i open 2005q4 if it is not open, suppose
it is in the following path:

C:\Documents and Settings\ZZZ\My Documents\WorkRelatedExcel\[2005q4.xls]

Thank you in advance!