View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
scain2004[_8_] scain2004[_8_] is offline
external usenet poster
 
Posts: 1
Default If Workbook not Open Then Open It

How do check to see if a workbook's open, and if it's not already open
then open it?

I've looked in the forum, but nobody seems to be looking for the abov
condition.

I've got this already:

jbl = "Production Schedule 040512.xls"
checkForBook = CBool(Len(Workbooks(jbl).name))

If Not checkForBook Then

'What goes here?'

End I

--
Message posted from http://www.ExcelForum.com