Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Automatic Macro Start

Hi

I was wondering how automatically run a macro everytime i
open a workbook.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Automatic Macro Start

Edgar,

1. In the Project Explorer window, double-click "ThisWorkbook"
2. Create a Workbook_Open procedure, something similar to this:

Private Sub Workbook_Open()
MsgBox "Hello there!"
End Sub

3. Save the workbook.

Ture Magnusson
Karlstad, Sweden

"Edgar" wrote in message
...
Hi

I was wondering how automatically run a macro everytime i
open a workbook.

Thanks



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
Automatic start up with Excel? mms Excel Discussion (Misc queries) 3 September 18th 07 01:39 PM
Automatic start up with Excel? mms Excel Discussion (Misc queries) 0 September 15th 07 08:02 AM
Sub Macro vrs Function Macro Auto Start Pat Excel Discussion (Misc queries) 7 June 6th 07 09:53 PM
How to using VBA to automatic start excel application? Roger Setting up and Configuration of Excel 1 May 16th 05 10:15 AM
Help? start macro automatic in excel pim_parra Excel Worksheet Functions 2 April 8th 05 02:03 PM


All times are GMT +1. The time now is 01:18 PM.

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"