Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a macro/code when Excel starts.. 1

Status
Not open for further replies.

simmantix

Nuclear
Joined
Apr 30, 2003
Messages
31
Location
GB
Dear all,

I wish to run a piece of VBA code every time Excel starts..

E.g. - objExcel()_OnStart

CODE

I know this is the incorrect syntax/form/etc, anyone got any better ideas?? All I want to do is delete some values and formatting every time the program comes up..

Thanks

 
Put these lines on the "ThisWorkbook" code sheet (not as a module):

Private Sub Workbook_Open()
CODE
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top