Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Depending on how security is set up, you may be able to do it using
techniques at Chip Pearson's site: http://www.cpearson.com/excel/vbe.htm I found this code on the site: Sub AddModule() Dim VBComp As VBComponent Set VBComp = ThisWorkbook.VBProject.VBComponents.Add(vbext_ct_S tdModule) VBComp.Name = "NewModule" Application.Visible = True End Sub Looks like what I need - I'll give it a shot. Or maybe you could just create the charts from Access--or create an addin that has the code already in it and you could just load that addin and run that code. Perhaps. I think what *should* be done is write it in C# with VSTO... Thanks for the tip. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Workbook automation | Excel Discussion (Misc queries) | |||
Failure to open workbook via automation | Excel Programming | |||
Copy VBA Module and Form from Workbook to another workbook | Excel Programming | |||
How can I name the Module or class after I insert it into the Excel | Excel Programming | |||
How to insert Excel Worksheet Name using Automation in VB Dot Net?? | Excel Programming |