Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Using a macro to write modules
Richard,
The code below was copied/pasted from Chip Pearson's web site, which has more examples of programming the VB Editor Sub AddModule() Dim VBComp As VBComponent Set VBComp = ThisWorkbook.VBProject.VBComponents.Add(vbext_ct_S tdModule) VBComp.Name = "NewModule" Application.Visible = True End Sub http://www.cpearson.com/excel/vbe.htm --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Chaining 6 macro modules | Excel Discussion (Misc queries) | |||
What may cause macro modules to be created by accident? | Excel Worksheet Functions | |||
Macro to import modules into a worksheet | Excel Discussion (Misc queries) | |||
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? | Excel Worksheet Functions | |||
Using a macro to write modules | Excel Programming |