Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Module In Visual Basic
How to add module in Visual Basic With Excel? -- Sathisc ------------------------------------------------------------------------ Sathisc's Profile: http://www.thecodecage.com/forumz/member.php?userid=187 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=87929 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Module In Visual Basic
manually? in the code editor (the IDE) - you can open it with Ctrl+F11
from the Insert menu, select Module "Sathisc" wrote: How to add module in Visual Basic With Excel? -- Sathisc ------------------------------------------------------------------------ Sathisc's Profile: http://www.thecodecage.com/forumz/member.php?userid=187 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=87929 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Module In Visual Basic
Are you looking for this... Launch VBE using Alt+F11. Insert module
If this post helps click Yes --------------- Jacob Skaria "Sathisc" wrote: How to add module in Visual Basic With Excel? -- Sathisc ------------------------------------------------------------------------ Sathisc's Profile: http://www.thecodecage.com/forumz/member.php?userid=187 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=87929 |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Module In Visual Basic
if you want to do it in code, its also relatively straightforwards...
Sub AddAModule() Dim md As Object Dim wb As Workbook Set wb = Workbooks.Add ' you can (a) programatically add a module Set md = wb.VBProject.VBComponents.Add(1) and also (b) import a text file as a module Set md = wb.VBProject.VBComponents.Import("{full address here}") With md 'blah End With End Sub "Sathisc" wrote: How to add module in Visual Basic With Excel? -- Sathisc ------------------------------------------------------------------------ Sathisc's Profile: http://www.thecodecage.com/forumz/member.php?userid=187 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=87929 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
microsoft visual basic-compile error in hidden module:modMain | Excel Discussion (Misc queries) | |||
Imported Visual Basic Module - Save Macros for use in Excel | Excel Discussion (Misc queries) | |||
How do I initiate a Visual Basic Module in Excel? | Excel Programming | |||
Excel default module when opening visual basic editor | Excel Programming | |||
exel : visual basic: compile error in hidden module : Distmon | Excel Discussion (Misc queries) |