Saving code from templates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an application that creates several Excel 2000 spreadsheets using a template. The template has VBA code for several events (BeforeOpen, BeforePrint, etc) The application automatically saves the spreadsheets but they don't have any of the code that is in the template. Is there any way to save this code in the spreadsheets?
 
Retaining the code is the normal behavior unless you are saving the
worksheet in the xl5/xl95 format which does not support the newer style
events.

Try saving in the xl97/xl2000/xl2002/xl2003 format. (xlworkbooknormal)

--
Regards,
Tom Ogilvy


B Bassick said:
I have an application that creates several Excel 2000 spreadsheets using a
template. The template has VBA code for several events (BeforeOpen,
BeforePrint, etc) The application automatically saves the spreadsheets but
they don't have any of the code that is in the template. Is there any way
to save this code in the spreadsheets?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top