Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
ComboBox create add'l lines of code
Hi All,
I developed the following code using the form tool. The only problem is when the code runs; an additional €˜Sub - End Sub line of code is created. Here is the code: Private Sub UserForm_Initialize() ComboBox1.ColumnCount = 5 ComboBox1.RowSource = "a1:e4" ComboBox1.ControlSource = "a6" 'Place the ListIndex into cell a6 ComboBox1.BoundColumn = 0 End Sub And here is the additional code line that is return after the above code is finished. Private Sub ComboBox1_Change() End Sub What changes are required to prevent the additional lines of code? Thanks Again Paul |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
ComboBox create add'l lines of code
Same response as to your previous post.
-- HTH RP (remove nothere from the email address if mailing direct) "Paul" wrote in message ... Hi All, I developed the following code using the form tool. The only problem is when the code runs; an additional 'Sub - End Sub' line of code is created. Here is the code: Private Sub UserForm_Initialize() ComboBox1.ColumnCount = 5 ComboBox1.RowSource = "a1:e4" ComboBox1.ControlSource = "a6" 'Place the ListIndex into cell a6 ComboBox1.BoundColumn = 0 End Sub And here is the additional code line that is return after the above code is finished. Private Sub ComboBox1_Change() End Sub What changes are required to prevent the additional lines of code? Thanks Again Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
combobox code | Excel Discussion (Misc queries) | |||
combobox code | Excel Discussion (Misc queries) | |||
ComboBox Code | New Users to Excel | |||
ComboBox code | Excel Worksheet Functions | |||
code to insert add'l code ??? | Excel Programming |