View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Insert code by code

Hi
siehe:
http://www.cpearson.com/excel/vbe.htm

--
Regards
Frank Kabel
Frankfurt, Germany

"Filips Benoit" schrieb im Newsbeitrag
...
Dear All,

I create a new excel workbook from a template by using
Selection.PasteSpecial so the code in the template is not copied. But

i want
some new code in the new workbook!

Is it possible to insert code ( workbook_Before_close) in the new

workbook.

Filip