View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Disable macro in excel automation with VC++/Win2k

You can disable events with

Application.EnableEvents = False

That is the VBA way - you would have to adapt it to C++

--
Regards,
Tom Ogilvy
"mbozzaotre" wrote in message
oups.com...
Hi,
I have a problem trying to automate an excel file from Visual C++ in
Win2k. The installed version of Excel is 2000. I need to disable all
macros before loading. Could you help me?
Thank you.