Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default Which Fires First?

Which code would fire first, the workbook_Open event in the
ThisWorkbook module, or Auto_Open in a general code module?
Either way, I need to make sure the ThisWorkbook code fires first.
Rob

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 196
Default Which Fires First?

Hi

The Workbook_Open event that fires first - ie before Auto_Open.

Best regards

Richard


On 22 Feb, 14:19, "okrob" wrote:
Which code would fire first, the workbook_Open event in the
ThisWorkbook module, or Auto_Open in a general code module?
Either way, I need to make sure the ThisWorkbook code fires first.
Rob



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default Which Fires First?

On Feb 22, 8:22 am, "RichardSchollar"
wrote:
Hi

The Workbook_Open event that fires first - ie before Auto_Open.

Best regards

Richard

On 22 Feb, 14:19, "okrob" wrote:



Which code would fire first, the workbook_Open event in the
ThisWorkbook module, or Auto_Open in a general code module?
Either way, I need to make sure the ThisWorkbook code fires first.
Rob- Hide quoted text -


- Show quoted text -


Thanks...

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Which Fires First?

Why would you not just add a Msgbox in each procedure, and see for yourself?

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"okrob" wrote in message
oups.com...
On Feb 22, 8:22 am, "RichardSchollar"
wrote:
Hi

The Workbook_Open event that fires first - ie before Auto_Open.

Best regards

Richard

On 22 Feb, 14:19, "okrob" wrote:



Which code would fire first, the workbook_Open event in the
ThisWorkbook module, or Auto_Open in a general code module?
Either way, I need to make sure the ThisWorkbook code fires first.
Rob- Hide quoted text -


- Show quoted text -


Thanks...



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Which Fires First?

Check out
http://www.cpearson.com/excel/events.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"okrob" wrote in message oups.com...
Which code would fire first, the workbook_Open event in the
ThisWorkbook module, or Auto_Open in a general code module?
Either way, I need to make sure the ThisWorkbook code fires first.
Rob

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
code error after autorecover fires Datasort Excel Programming 1 October 6th 05 07:49 PM
Drop Down Selection fires a module? John Excel Worksheet Functions 1 December 6th 04 09:17 PM
worksheet_change event fires multiple times timconstan Excel Programming 1 October 5th 04 05:55 PM
File|Close w/Save fires Workbook_Open twice Mike Preston Excel Programming 6 August 28th 03 10:54 PM
CommandBarButton.OnAction prop fires when set? Arg! kevin Excel Programming 2 July 22nd 03 10:40 AM


All times are GMT +1. The time now is 03:47 AM.

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

About Us

"It's about Microsoft Excel"