View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
jlsainz jlsainz is offline
external usenet poster
 
Posts: 1
Default controlling from xls , word events


hello, I have some problems to control the event documents.close for
excel.
I know that I have to use Withevents in the module class,

Public withevents APPWord as application ; why as application?

Private sub APP_Word.Application.Beforeclose (......)

Where and whend I have to define the Word application, in th
thisworkbook module or in the class module?

am I in the right way?

thaks, and sorry, I'm not englis

--
jlsain
-----------------------------------------------------------------------
jlsainz's Profile: http://www.excelforum.com/member.php...fo&userid=1450
View this thread: http://www.excelforum.com/showthread.php?threadid=26133