ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   AUTO START (https://www.excelbanter.com/excel-programming/283086-auto-start.html)

JIMBO

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

Thanks

Ed


Chip Pearson[_2_]

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




Nicke[_2_]

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



All times are GMT +1. The time now is 02:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com