View Single Post
  #15   Report Post  
Posted to microsoft.public.excel.programming
johncassell[_64_] johncassell[_64_] is offline
external usenet poster
 
Posts: 1
Default How to delete these rows ?


Sub checkisopen()
On Error Resume Next
If Application.Workbooks("abc.xls") Is Nothing Then
MsgBox ("abc.xls is not open")
Else
MsgBox ("abc.xls is open")
End If

End Sub

thanks

Joh

--
johncassel
-----------------------------------------------------------------------
johncassell's Profile: http://www.excelforum.com/member.php...fo&userid=2501
View this thread: http://www.excelforum.com/showthread.php?threadid=56562