#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default AUTO START

How do i automatically start a macro evrytime i load a
worksheet.

Thanks

Ed

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 95
Default AUTO START

Ed,

In the ThisWorkbook code module, use

Private Sub Workbook_Open()
' your code here
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"JIMBO" wrote in message
...
How do i automatically start a macro evrytime i load a
worksheet.

Thanks

Ed



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default AUTO START


Hi,

Create a macro called AUTO_OPEN in a module or put the coden in th
Workbook_Open sub, you'll find it in ThisWorkbook.

/Nick

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

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-start macro Frank[_6_] Excel Discussion (Misc queries) 2 March 6th 10 06:06 PM
Auto Start Gerrym Excel Discussion (Misc queries) 0 March 7th 05 07:59 AM
Auto start up with non-xls files MarkAurit Excel Discussion (Misc queries) 1 February 22nd 05 03:28 PM
Auto x range start value, xy charts [email protected] Charts and Charting in Excel 5 January 24th 05 11:49 PM
Auto-entering the start and end of a month Laphan[_2_] Excel Programming 4 November 12th 03 08:38 PM


All times are GMT +1. The time now is 05:32 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"