Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Auto_Open and Workbook_Open in Addins

I have an addin which contains a Workbook_Open macro in
the code sheet for the workbook (which by the is not named
ThisWorkbook)
This code is not executed when Excel is started
and the addin is automatically loaded.
Auto_Open macros are executed.
What might be the reason for this?
It seems that this only happens on some machines,
but not on other machines.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Auto_Open and Workbook_Open in Addins

Workbook_open is an event that belongs to the workbook. It wants to be in the
ThisWorkbook module.

Move it and it should execute ok.


Erich Neuwirth wrote:

I have an addin which contains a Workbook_Open macro in
the code sheet for the workbook (which by the is not named
ThisWorkbook)
This code is not executed when Excel is started
and the addin is automatically loaded.
Auto_Open macros are executed.
What might be the reason for this?
It seems that this only happens on some machines,
but not on other machines.


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto_open dan Excel Discussion (Misc queries) 7 May 21st 06 10:41 AM
Workbook_Open () Bill Martin Excel Discussion (Misc queries) 12 December 20th 05 05:37 PM
Workbook_Open Eric Marple Excel Programming 3 May 10th 04 01:24 AM
Help with Workbook_Open Ruan[_3_] Excel Programming 7 April 28th 04 07:52 AM
Auto_Open Vs Workbook_open Soniya Excel Programming 2 September 23rd 03 03:56 PM


All times are GMT +1. The time now is 03:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"