Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VB editor opens by magic
Hi there, After the VB lines of code (ran in Excel) Bla bla bla '/*/*/*/*/*/*/*/*/*/*/*/*/ 'Insert a proc into Sheet1 '/*/*/*/*/*/*/*/*/*/*/*/*/ Dim Startline As Long With ActiveWorkbook.VBProject.VBComponents("Sheet1").Co deModule Startline = .CreateEventProc("Change", "Worksheet") + 2 ..InsertLines Startline, "call Update_residuals" End With End If retest = False Workbooks(glbMainTrialFileName & ".xls").Save Unload Me Exit Sub the VB editor opens by magic ? could anybody tell me why ? Dallag -- dallag ------------------------------------------------------------------------ dallag's Profile: http://www.excelforum.com/member.php...o&userid=29762 View this thread: http://www.excelforum.com/showthread...hreadid=494813 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Visual Basic Editor opens bi itself | Excel Discussion (Misc queries) | |||
VBA Editor opens automatically after unlocking machine | Excel Discussion (Misc queries) | |||
Computer Lock opens up VB editor | Excel Programming | |||
Textbox Hyperlink opens VB Editor at Specific Module | Excel Programming | |||
VBA Editor opens by itself? | Excel Programming |