View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Alvin Hansen[_2_] Alvin Hansen[_2_] is offline
external usenet poster
 
Posts: 209
Default Change the start of a workbook

Hi!!
I have this
Private Sub Workbook_open()
copy
GetData_Example1
Priser.Show
End Sub

Now i save my file as a new file
and when i do that i don't want to have
"copy" and "GetData_Example1" in the
new workbook
So in my new workbook there shall only stay
Private Sub Workbook_open()
Priser.Show
End Sub

Hope someone can help maybe with a macro there
can delete the lines i havn't use for

Best regards alvin