View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Macro upon opening

You can use a macro named Auto_Open() in a General module:

Option Explicit
Sub Auto_Open()
msgbox "hi"
End Sub

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Peanut wrote:

Is there a way to create a macro that runs immediately upon opening of a
worksheet?


--

Dave Peterson