View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Don Guillett[_4_] Don Guillett[_4_] is offline
external usenet poster
 
Posts: 2,337
Default How do I deactivivate a workbook?

thisworkbook.close

--
Don Guillett
SalesAid Software

"Marc" wrote in message
om...
Hello all,

I can't figure out how to deactivate or minimize a workbook. Without
getting too specific, basically I am intercepting the 'close' command
until I exit the program and just want to deactivate the workbook the
user was trying to close.

I can't find any commands that will accomplish this. The workbook has
an activate command (wb.Activate) but no deactivate. How can I do
this?

Thanks ahead of time,
Marc