View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
VB Script for Excel VB Script for Excel is offline
external usenet poster
 
Posts: 19
Default activating a workbook

A1 in the current workbook gives me the file name that changes everyday
due to date.
A1 shows:
="pnlreport_"& TEXT(now(),"yymmdd")& ".xls"
this will produce: pnlreport_060321.xls if today's date is 21st March
2006.

I need to activate this file, which is already open through VB. But it
gives me a run time error in above code.


Thanks