LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Insert Macro into Excel Workbook using C# code

Let's say I have thousand of existing excel workbooks and I want to insert
a macro funtion into all of them. Is there a way to automate this.
I'm looking for a way to insert the VB macro function (such as
Workbook_BeforeClose function) into ThisWorkBook using C# code.
Does anyone know what Microsoft provides us or references to proceed this?
Thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
insert vba code to new workbook Jive Excel Worksheet Functions 2 March 5th 08 02:12 PM
Excel Still Thinks Workbook Has Macro Code Dan[_36_] Excel Programming 4 May 23rd 06 12:06 AM
Need macro to insert workbook into another workbook using input box newnhamm Excel Programming 2 December 15th 05 07:34 PM
Code to insert data from another workbook maryj Excel Programming 3 December 2nd 04 07:05 PM
Insert VBA code with a macro in a .xls file by workbook open event mihai[_3_] Excel Programming 8 July 29th 04 01:49 PM


All times are GMT +1. The time now is 11:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"