Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBIDE.Codemodule.addfromfile putting code in wrong place
Dear all,
I am using VBIDE.Codemodule.addfromfile "NameOfFile.bas" to append a procedure to a VBComponent. The problem is that in this VBComponent I have variables declarations and one in the middle that is Public, and the VBE engine is appending the procedure several lines above this declaration, although the first procedure is several lines bellow. Any suggestion? Thanks, GM |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Check for Complie Error in VBA code via VBIDE | Excel Programming | |||
CodeModule.AddFromFile problem | Excel Programming | |||
Putting a formula in place one time for the entire spreadsheet | Excel Programming | |||
Putting a formula in place one time for the entire spreadsheet | Excel Programming | |||
modifying code using addfromfile method | Excel Programming |