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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change template of new functions/subs

Status
Not open for further replies.

jackha18

Technical User
Sep 28, 2002
39
IL
is there a way to change the template vb uses to create new subs and functions so when i close Add Procedure dialog instead of

Public Sub Main()

End Sub


i'll get, for instance:

Public Sub Main()
On Error GoTo error_handler

error_handler:
MsgBox "Error!"
End Sub


thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top