View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Peter Longstaff Peter Longstaff is offline
external usenet poster
 
Posts: 9
Default Automatically runing a macro

"Tom Ogilvy" wrote in news:OtNqSOPaDHA.2632
@TK2MSFTNGP09.phx.gbl:

Private sub Workbook_Open()
if thisworkbook.Path = "" then
mymacro
End if
End Sub



Hi Tom,

thanks for this but i do not know where to place this function. DO I place
it in the workbook or the specific sheet ?

TIA
Peter