View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mflorezm mflorezm is offline
external usenet poster
 
Posts: 1
Default Excel Automation Problem with Late Binding

Hello Guys:

Does anyone know How to create an Excel event handler while using late
binding?

I had to use late binding because my application must run across multiple
MS-Office versions, but I need to catch WorkbookBeforeClose Event of the
application object.

I tried both: delegates and WithEvents keyword like I found in Microsoft
documents, but it doesn't work because those methods use early binding.

http://support.microsoft.com/default...b;en-us;249843
http://support.microsoft.com/default...b;en-us;247579
http://support.microsoft.com/default...b;en-us;244167

Thanks

--
MFM