D Darin Kramer Dec 14, 2004 #1 Hi there, I want a Macro to run automatically when a workbook is opened - is it possible..? Thanks D
B Bob Phillips Dec 14, 2004 #2 Sure is. One of two ways Add an event procedure called Workbook_Open to the This workbook code module Private Sub Workbook_Open() ... do your stuff End Sub or simply add a procedure called Auto_Open in a general code module Sub Auto_Open() ... do your stuff End Sub -- HTH RP (remove nothere from the email address if mailing direct)
Sure is. One of two ways Add an event procedure called Workbook_Open to the This workbook code module Private Sub Workbook_Open() ... do your stuff End Sub or simply add a procedure called Auto_Open in a general code module Sub Auto_Open() ... do your stuff End Sub -- HTH RP (remove nothere from the email address if mailing direct)
T Tom Ogilvy Dec 14, 2004 #3 This can be done with the Workbook_Open event. See Chip Pearson's page that explains workbook related events http://www.cpearson.com/excel/events.htm
This can be done with the Workbook_Open event. See Chip Pearson's page that explains workbook related events http://www.cpearson.com/excel/events.htm